ChatAdministratorRights constructor
const
ChatAdministratorRights({
- required bool canManageChat,
- required bool canChangeInfo,
- required bool canPostMessages,
- required bool canEditMessages,
- required bool canDeleteMessages,
- required bool canInviteUsers,
- required bool canRestrictMembers,
- required bool canPinMessages,
- required bool canManageTopics,
- required bool canPromoteMembers,
- required bool canManageVideoChats,
- 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,
});