SetChatLocation constructor

const SetChatLocation({
  1. required int chatId,
  2. required 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

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