set_chat_location


Description:

public async Ok set_chat_location (int64 chat_id, ChatLocation location) throws TDLibError

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

Parameters:

chat_id

Chat identifier

location

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