SetChatLocation constructor

SetChatLocation(
  1. {int chatId,
  2. ChatLocation location}
)

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

Implementation

SetChatLocation({this.chatId, this.location});