ChatAdministratorRights constructor

ChatAdministratorRights({
  1. bool isAnonymous = false,
  2. bool canManageChat = false,
  3. bool canDeleteMessages = false,
  4. bool canManageVideoChats = false,
  5. bool canRestrictMembers = false,
  6. bool canPromoteMembers = false,
  7. bool canChangeInfo = false,
  8. bool canInviteUsers = false,
  9. bool? canPostMessages,
  10. bool? canEditMessages,
  11. bool? canPinMessages,
  12. bool? canManageTopics,
})

Implementation

ChatAdministratorRights({
  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,
});