ChatMemberAdministrator constructor

ChatMemberAdministrator({
  1. required String status,
  2. required User user,
  3. bool canBeEdited = false,
  4. bool isAnonymous = false,
  5. bool canManageChat = false,
  6. bool canDeleteMessages = false,
  7. bool canManageVideoChats = false,
  8. bool canRestrictMembers = false,
  9. bool canPromoteMembers = false,
  10. bool canChangeInfo = false,
  11. bool canInviteUsers = false,
  12. bool? canPostMessages,
  13. bool? canEditMessages,
  14. bool? canPinMessages,
  15. bool? canManageTopics,
  16. String? customTitle,
})

Implementation

ChatMemberAdministrator({
  required this.status,
  required this.user,
  this.canBeEdited = false,
  this.isAnonymous = false,
  this.canManageChat = false,
  this.canDeleteMessages = false,
  this.canManageVideoChats = false,
  this.canRestrictMembers = false,
  this.canPromoteMembers = false,
  this.canChangeInfo = false,
  this.canInviteUsers = false,
  this.canPostMessages,
  this.canEditMessages,
  this.canPinMessages,
  this.canManageTopics,
  this.customTitle,
});