UserFullInfo constructor

const UserFullInfo({
  1. ChatPhoto? personalPhoto,
  2. ChatPhoto? photo,
  3. ChatPhoto? publicPhoto,
  4. required int communityId,
  5. BlockList? blockList,
  6. required bool canBeCalled,
  7. required bool supportsVideoCalls,
  8. required bool hasPrivateCalls,
  9. required bool hasPrivateForwards,
  10. required bool hasRestrictedVoiceAndVideoNoteMessages,
  11. required bool hasPostedToProfileStories,
  12. required bool hasSponsoredMessagesEnabled,
  13. required bool needPhoneNumberPrivacyException,
  14. required bool setChatBackground,
  15. required bool usesUnofficialApp,
  16. FormattedText? bio,
  17. Birthdate? birthdate,
  18. required int personalChatId,
  19. required int giftCount,
  20. required int groupInCommonCount,
  21. required int incomingPaidMessageStarCount,
  22. required int outgoingPaidMessageStarCount,
  23. required GiftSettings giftSettings,
  24. BotVerification? botVerification,
  25. ProfileTab? mainProfileTab,
  26. Audio? firstProfileAudio,
  27. UserRating? rating,
  28. UserRating? pendingRating,
  29. required int pendingRatingDate,
  30. FormattedText? note,
  31. TonWalletCard? tonWalletCard,
  32. ProfileShareTheme? shareTheme,
  33. BusinessInfo? businessInfo,
  34. BotInfo? botInfo,
  35. dynamic extra,
  36. int? clientId,
})

Contains full information about a user

Implementation

const UserFullInfo({
  this.personalPhoto,
  this.photo,
  this.publicPhoto,
  required this.communityId,
  this.blockList,
  required this.canBeCalled,
  required this.supportsVideoCalls,
  required this.hasPrivateCalls,
  required this.hasPrivateForwards,
  required this.hasRestrictedVoiceAndVideoNoteMessages,
  required this.hasPostedToProfileStories,
  required this.hasSponsoredMessagesEnabled,
  required this.needPhoneNumberPrivacyException,
  required this.setChatBackground,
  required this.usesUnofficialApp,
  this.bio,
  this.birthdate,
  required this.personalChatId,
  required this.giftCount,
  required this.groupInCommonCount,
  required this.incomingPaidMessageStarCount,
  required this.outgoingPaidMessageStarCount,
  required this.giftSettings,
  this.botVerification,
  this.mainProfileTab,
  this.firstProfileAudio,
  this.rating,
  this.pendingRating,
  required this.pendingRatingDate,
  this.note,
  this.tonWalletCard,
  this.shareTheme,
  this.businessInfo,
  this.botInfo,
  this.extra,
  this.clientId,
});