View Source ExTDLib.Method.SetChatLocation (ExTDLib v0.0.4)

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. Returns object_ptr<Ok>.

NameTypeDescription
chat_idstringChat identifier.
locationchatLocationNew location for the chat; must be valid and not null.

More details on telegram's documentation.