UserPrivateResponse constructor
const
UserPrivateResponse({
- required String? pronouns,
- required String username,
- required String discriminator,
- required String? globalName,
- required String? avatar,
- required Int32Type? avatarColor,
- required String? privacyAgreedAt,
- required String? termsAgreedAt,
- required PublicUserFlags flags,
- required UserPrivateResponsePendingBulkMessageDeletion? pendingBulkMessageDeletion,
- required bool isStaff,
- required List<
String> acls, - required List<
String> traits, - required String? email,
- required int unreadGiftInventoryCount,
- required bool hasUnreadGiftInventory,
- required bool hasVerifiedPhone,
- required String? bio,
- required String id,
- required Int32Type? accentColor,
- required String? banner,
- required Int32Type? bannerColor,
- required bool mfaEnabled,
- required bool hasEverPurchased,
- required bool verified,
- required bool hasDismissedPremiumOnboarding,
- required bool nsfwAllowed,
- required String? passwordLastChangedAt,
- required List<
String> requiredActions, - List<
UserAuthenticatorTypes> ? authenticatorTypes, - String? phone,
- bool? emailBounced,
- MentionReplyPreferences? mentionFlags,
- bool? ageVerifiedAdult,
- bool? system,
- bool? bot,
- bool? forceInboundPhoneVerification,
Implementation
const UserPrivateResponse({
required this.pronouns,
required this.username,
required this.discriminator,
required this.globalName,
required this.avatar,
required this.avatarColor,
required this.privacyAgreedAt,
required this.termsAgreedAt,
required this.flags,
required this.pendingBulkMessageDeletion,
required this.isStaff,
required this.acls,
required this.traits,
required this.email,
required this.unreadGiftInventoryCount,
required this.hasUnreadGiftInventory,
required this.hasVerifiedPhone,
required this.bio,
required this.id,
required this.accentColor,
required this.banner,
required this.bannerColor,
required this.mfaEnabled,
required this.hasEverPurchased,
required this.verified,
required this.premiumType,
required this.premiumSince,
required this.premiumUntil,
required this.premiumWillCancel,
required this.premiumBillingCycle,
required this.premiumLifetimeSequence,
required this.premiumGraceEndsAt,
required this.premiumDiscriminator,
required this.premiumBadgeHidden,
required this.hasDismissedPremiumOnboarding,
required this.premiumBadgeTimestampHidden,
required this.premiumBadgeSequenceHidden,
required this.premiumPurchaseDisabled,
required this.premiumEnabledOverride,
required this.premiumPerksDisabled,
required this.nsfwAllowed,
required this.passwordLastChangedAt,
required this.requiredActions,
required this.premiumBadgeMasked,
this.premiumOutOfBandTrialEndsAt,
this.authenticatorTypes,
this.phone,
this.emailBounced,
this.mentionFlags,
this.ageVerifiedAdult,
this.system,
this.bot,
this.forceInboundPhoneVerification,
});