UserFull constructor

const UserFull({
  1. required bool blocked,
  2. required bool phoneCallsAvailable,
  3. required bool phoneCallsPrivate,
  4. required bool canPinMessage,
  5. required bool hasScheduled,
  6. required bool videoCallsAvailable,
  7. required bool voiceMessagesForbidden,
  8. required bool translationsDisabled,
  9. required bool storiesPinnedAvailable,
  10. required bool blockedMyStoriesFrom,
  11. required bool wallpaperOverridden,
  12. required int id,
  13. String? about,
  14. required PeerSettingsBase settings,
  15. PhotoBase? personalPhoto,
  16. PhotoBase? profilePhoto,
  17. PhotoBase? fallbackPhoto,
  18. required PeerNotifySettingsBase notifySettings,
  19. BotInfoBase? botInfo,
  20. int? pinnedMsgId,
  21. required int commonChatsCount,
  22. int? folderId,
  23. int? ttlPeriod,
  24. String? themeEmoticon,
  25. String? privateForwardName,
  26. ChatAdminRightsBase? botGroupAdminRights,
  27. ChatAdminRightsBase? botBroadcastAdminRights,
  28. List<PremiumGiftOptionBase>? premiumGifts,
  29. WallPaperBase? wallpaper,
  30. PeerStoriesBase? stories,
})

User Full constructor.

Implementation

const UserFull({
  required this.blocked,
  required this.phoneCallsAvailable,
  required this.phoneCallsPrivate,
  required this.canPinMessage,
  required this.hasScheduled,
  required this.videoCallsAvailable,
  required this.voiceMessagesForbidden,
  required this.translationsDisabled,
  required this.storiesPinnedAvailable,
  required this.blockedMyStoriesFrom,
  required this.wallpaperOverridden,
  required this.id,
  this.about,
  required this.settings,
  this.personalPhoto,
  this.profilePhoto,
  this.fallbackPhoto,
  required this.notifySettings,
  this.botInfo,
  this.pinnedMsgId,
  required this.commonChatsCount,
  this.folderId,
  this.ttlPeriod,
  this.themeEmoticon,
  this.privateForwardName,
  this.botGroupAdminRights,
  this.botBroadcastAdminRights,
  this.premiumGifts,
  this.wallpaper,
  this.stories,
}) : super._();