ChatFullInfo constructor

const ChatFullInfo({
  1. required int id,
  2. required ChatType type,
  3. String? title,
  4. String? username,
  5. String? firstName,
  6. String? lastName,
  7. bool? isForum,
  8. ChatPhoto? photo,
  9. List<String>? activeUsernames,
  10. String? bio,
  11. bool? hasPrivateForwards,
  12. bool? hasRestrictedVoiceAndVideoMessages,
  13. bool? joinToSendMessages,
  14. bool? joinByRequest,
  15. String? description,
  16. String? inviteLink,
  17. Message? pinnedMessage,
  18. ChatPermissions? permissions,
  19. int? slowModeDelay,
  20. int? messageAutoDeleteTime,
  21. bool? hasProtectedContent,
  22. String? stickerSetName,
  23. bool? canSetStickerSet,
  24. int? linkedChatId,
  25. ChatLocation? location,
  26. bool? hasHiddenMembers,
  27. bool? hasAggressiveAntiSpamEnabled,
  28. int? emojiStatusExpirationDate,
  29. List<ReactionType>? availableReactions,
  30. String? emojiStatusCustomEmojiId,
  31. int? accentColorId,
  32. String? backgroundCustomEmojiId,
  33. int? profileAccentColorId,
  34. String? profileBackgroundCustomEmojiId,
  35. bool? hasVisibleHistory,
  36. int? unrestrictBoostCount,
  37. String? customEmojiStickerSetName,
  38. BusinessIntro? businessIntro,
  39. BusinessLocation? businessLocation,
  40. BusinessOpeningHours? businessOpeningHours,
  41. Chat? personalChat,
  42. Birthdate? birthdate,
  43. int maxReactionCount = 0,
  44. bool? canSendPaidMedia,
})

Constructs a Chat object.

Implementation

const ChatFullInfo({
  required super.id,
  required super.type,
  super.title,
  super.username,
  super.firstName,
  super.lastName,
  super.isForum,
  this.photo,
  this.activeUsernames,
  this.bio,
  this.hasPrivateForwards,
  this.hasRestrictedVoiceAndVideoMessages,
  this.joinToSendMessages,
  this.joinByRequest,
  this.description,
  this.inviteLink,
  this.pinnedMessage,
  this.permissions,
  this.slowModeDelay,
  this.messageAutoDeleteTime,
  this.hasProtectedContent,
  this.stickerSetName,
  this.canSetStickerSet,
  this.linkedChatId,
  this.location,
  this.hasHiddenMembers,
  this.hasAggressiveAntiSpamEnabled,
  this.emojiStatusExpirationDate,
  this.availableReactions,
  this.emojiStatusCustomEmojiId,
  this.accentColorId,
  this.backgroundCustomEmojiId,
  this.profileAccentColorId,
  this.profileBackgroundCustomEmojiId,
  this.hasVisibleHistory,
  this.unrestrictBoostCount,
  this.customEmojiStickerSetName,
  this.businessIntro,
  this.businessLocation,
  this.businessOpeningHours,
  this.personalChat,
  this.birthdate,
  this.maxReactionCount = 0,
  this.canSendPaidMedia,
});