Channel constructor

const Channel({
  1. required bool creator,
  2. required bool left,
  3. required bool broadcast,
  4. required bool verified,
  5. required bool megagroup,
  6. required bool restricted,
  7. required bool signatures,
  8. required bool min,
  9. required bool scam,
  10. required bool hasLink,
  11. required bool hasGeo,
  12. required bool slowmodeEnabled,
  13. required bool callActive,
  14. required bool callNotEmpty,
  15. required bool fake,
  16. required bool gigagroup,
  17. required bool noforwards,
  18. required bool joinToSend,
  19. required bool joinRequest,
  20. required bool forum,
  21. required bool storiesHidden,
  22. required bool storiesHiddenMin,
  23. required bool storiesUnavailable,
  24. required int id,
  25. int? accessHash,
  26. required String title,
  27. String? username,
  28. required ChatPhotoBase photo,
  29. required DateTime date,
  30. List<RestrictionReasonBase>? restrictionReason,
  31. ChatAdminRightsBase? adminRights,
  32. ChatBannedRightsBase? bannedRights,
  33. ChatBannedRightsBase? defaultBannedRights,
  34. int? participantsCount,
  35. List<UsernameBase>? usernames,
  36. int? storiesMaxId,
  37. PeerColorBase? color,
  38. PeerColorBase? profileColor,
  39. EmojiStatusBase? emojiStatus,
  40. int? level,
})

Channel constructor.

Implementation

const Channel({
  required this.creator,
  required this.left,
  required this.broadcast,
  required this.verified,
  required this.megagroup,
  required this.restricted,
  required this.signatures,
  required this.min,
  required this.scam,
  required this.hasLink,
  required this.hasGeo,
  required this.slowmodeEnabled,
  required this.callActive,
  required this.callNotEmpty,
  required this.fake,
  required this.gigagroup,
  required this.noforwards,
  required this.joinToSend,
  required this.joinRequest,
  required this.forum,
  required this.storiesHidden,
  required this.storiesHiddenMin,
  required this.storiesUnavailable,
  required this.id,
  this.accessHash,
  required this.title,
  this.username,
  required this.photo,
  required this.date,
  this.restrictionReason,
  this.adminRights,
  this.bannedRights,
  this.defaultBannedRights,
  this.participantsCount,
  this.usernames,
  this.storiesMaxId,
  this.color,
  this.profileColor,
  this.emojiStatus,
  this.level,
}) : super._();