ChatMember constructor

ChatMember({
  1. required User user,
  2. required String status,
  3. String? customTitle,
  4. int? untilDate,
  5. bool? canBeEdited,
  6. bool? canPostMessages,
  7. bool? canEditMessages,
  8. bool? canDeleteMessages,
  9. bool? canRestrictMembers,
  10. bool? canPromoteMembers,
  11. bool? canChangeInfo,
  12. bool? canInviteUsers,
  13. bool? canPinMessages,
  14. bool? isMember,
  15. bool? canSendMessages,
  16. bool? canSendMediaMessages,
  17. bool? canSendPolls,
  18. bool? canSendOtherMessages,
  19. bool? canAddWebPagePreviews,
  20. bool? canManageVideoChats,
  21. bool? canManageChat,
  22. bool? isAnonymous,
})

Basic constructor

Implementation

ChatMember({
  required this.user,
  required this.status,
  this.customTitle,
  this.untilDate,
  this.canBeEdited,
  this.canPostMessages,
  this.canEditMessages,
  this.canDeleteMessages,
  this.canRestrictMembers,
  this.canPromoteMembers,
  this.canChangeInfo,
  this.canInviteUsers,
  this.canPinMessages,
  this.isMember,
  this.canSendMessages,
  this.canSendMediaMessages,
  this.canSendPolls,
  this.canSendOtherMessages,
  this.canAddWebPagePreviews,
  this.canManageVideoChats,
  this.canManageChat,
  this.isAnonymous,
});