ChatMemberAdministrator constructor
const
ChatMemberAdministrator({
- required User user,
- required bool canBeEdited,
- 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? canManageTopics,
- String? customTitle,
- bool? canPostStories,
- bool? canEditStories,
- bool? canDeleteStories,
Creates a new ChatMemberAdministrator object.
Implementation
const ChatMemberAdministrator({
required this.user,
required this.canBeEdited,
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.canManageTopics,
this.customTitle,
this.canPostStories,
this.canEditStories,
this.canDeleteStories,
});