ChatPermissions constructor

ChatPermissions({
  1. bool? canSendMessages,
  2. bool? canSendMediaMessages,
  3. bool? canSendPolls,
  4. bool? canSendOtherMessages,
  5. bool? canAddWebPagePreviews,
  6. bool? canChangeInfo,
  7. bool? canInviteUsers,
  8. bool? canPinMessages,
})

Basic constructor

Implementation

ChatPermissions({
  this.canSendMessages,
  this.canSendMediaMessages,
  this.canSendPolls,
  this.canSendOtherMessages,
  this.canAddWebPagePreviews,
  this.canChangeInfo,
  this.canInviteUsers,
  this.canPinMessages,
});