ChatPermissions constructor

ChatPermissions({
  1. bool? canSendMessages,
  2. bool? canSendAudios,
  3. bool? canSendDocuments,
  4. bool? canSendPhotos,
  5. bool? canSendVideos,
  6. bool? canSendVideoNotes,
  7. bool? canSendVoiceNotes,
  8. bool? canSendPolls,
  9. bool? canSendOtherMessages,
  10. bool? canAddWebPagePreviews,
  11. bool? canChangeInfo,
  12. bool? canInviteUsers,
  13. bool? canPinMessages,
  14. bool? canManageTopics,
})

Implementation

ChatPermissions({
  this.canSendMessages,
  this.canSendAudios,
  this.canSendDocuments,
  this.canSendPhotos,
  this.canSendVideos,
  this.canSendVideoNotes,
  this.canSendVoiceNotes,
  this.canSendPolls,
  this.canSendOtherMessages,
  this.canAddWebPagePreviews,
  this.canChangeInfo,
  this.canInviteUsers,
  this.canPinMessages,
  this.canManageTopics,
});