ChatMemberAdministrator constructor

const ChatMemberAdministrator({
  1. required User user,
  2. required bool canBeEdited,
  3. required bool isAnonymous,
  4. required bool canManageChat,
  5. required bool canDeleteMessages,
  6. required bool canManageVideoChats,
  7. required bool canRestrictMembers,
  8. required bool canPromoteMembers,
  9. required bool canChangeInfo,
  10. required bool canInviteUsers,
  11. bool? canPostMessages,
  12. bool? canEditMessages,
  13. bool? canPinMessages,
  14. bool? canManageTopics,
  15. String? customTitle,
  16. bool? canPostStories,
  17. bool? canEditStories,
  18. 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,
});