ChatAdministratorRights constructor
const
ChatAdministratorRights({
- required bool isAnonymous,
- required bool canManageChat,
- required bool canDeleteMessages,
- required bool canManageVideoChats,
- required bool canRestrictMembers,
- required bool canPromoteMembers,
- required bool canChangeInfo,
- required bool canInviteUsers,
- bool? canPostMessages,
- bool? canEditMessages,
- bool? canPinMessages,
- bool? canManageForum,
- bool? canPostStories,
- bool? canEditStories,
- bool? canDeleteStories,
Creates a new ChatAdministratorRights object.
Implementation
const ChatAdministratorRights({
required this.isAnonymous,
required this.canManageChat,
required this.canDeleteMessages,
required this.canManageVideoChats,
required this.canRestrictMembers,
required this.canPromoteMembers,
required this.canChangeInfo,
required this.canInviteUsers,
this.canPostMessages,
this.canEditMessages,
this.canPinMessages,
this.canManageForum,
this.canPostStories,
this.canEditStories,
this.canDeleteStories,
});