ChatAdministratorRights constructor

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

Basic constructor

Implementation

ChatAdministratorRights(
  this.isAnonymous,
  this.canManageChat,
  this.canDeleteMessages,
  this.canManageVideoChats,
  this.canRestrictMembers,
  this.canPromoteMembers,
  this.canChangeInfo,
  this.canInviteUsers,
  this.canPostMessages,
  this.canEditMessages,
  this.canPinMessages,
);