SetChatPermissions constructor

const SetChatPermissions({
  1. required int chatId,
  2. required ChatPermissions permissions,
})

Changes the chat members permissions. Supported only for basic groups and supergroups. Requires can_restrict_members administrator right

Implementation

const SetChatPermissions({
  required this.chatId,
  required this.permissions,
});