ChatAdministratorRights constructor

const ChatAdministratorRights({
  1. required bool canManageChat,
  2. required bool canChangeInfo,
  3. required bool canPostMessages,
  4. required bool canEditMessages,
  5. required bool canDeleteMessages,
  6. required bool canInviteUsers,
  7. required bool canRestrictMembers,
  8. required bool canPinMessages,
  9. required bool canManageTopics,
  10. required bool canPromoteMembers,
  11. required bool canManageVideoChats,
  12. required bool isAnonymous,
})

Describes rights of the administrator

Implementation

const ChatAdministratorRights({
  required this.canManageChat,
  required this.canChangeInfo,
  required this.canPostMessages,
  required this.canEditMessages,
  required this.canDeleteMessages,
  required this.canInviteUsers,
  required this.canRestrictMembers,
  required this.canPinMessages,
  required this.canManageTopics,
  required this.canPromoteMembers,
  required this.canManageVideoChats,
  required this.isAnonymous,
});