Interface SetChatLocation

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. Request type for Tdjson#setChatLocation.

interface SetChatLocation {
    @type: "setChatLocation";
    chat_id: number;
    location: ChatLocation;
}

Properties

@type: "setChatLocation"
chat_id: number

Chat identifier.

location: ChatLocation

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