Skip to content

setChatLocation

Function · TDLib 1.8.67 · d1085f9c

Changes the location of a chat. Available only for some location-based supergroups, use supergroupFullInfo.can_set_location to check whether the method is allowed to use

setChatLocation(
  chat_id: int53,
  location: ChatLocation
) → Ok

chat_id

int53

Chat identifier

location

ChatLocation

New location for the chat; must be valid and not null