Interface SetChatLocation

Changes the location of a chat. Use supergroupFullInfo.can_set_location to check whether the method can be used. 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.