UserPrivateResponse constructor
const
UserPrivateResponse({
- required String username,
- required String discriminator,
- required String? globalName,
- required String? avatar,
- required Int32Type? avatarColor,
- required String? termsAgreedAt,
- required UserPrivateResponsePendingBulkMessageDeletion? pendingBulkMessageDeletion,
- required PublicUserFlags flags,
- required String? pronouns,
- 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 bool hasEverPurchased,
- required bool hasDismissedPremiumOnboarding,
- required String? banner,
- required Int32Type? bannerColor,
- required bool mfaEnabled,
- required bool nsfwAllowed,
- required bool verified,
- required String? privacyAgreedAt,
- required String? lastVoiceActivitySharingChangeAt,
- required String? passwordLastChangedAt,
- required List<
String> requiredActions, - MentionReplyPreferences? mentionFlags,
- List<
UserAuthenticatorTypes> ? authenticatorTypes, - ProfileFieldPrivacyFlags? timezonePrivacyFlags,
- String? timezone,
- String? phone,
- bool? emailBounced,
- bool? system,
- bool? ageVerifiedAdult,
- bool? bot,
- bool? forceInboundPhoneVerification,
Implementation
const UserPrivateResponse({
required this.premiumType,
required this.username,
required this.discriminator,
required this.globalName,
required this.avatar,
required this.avatarColor,
required this.termsAgreedAt,
required this.pendingBulkMessageDeletion,
required this.flags,
required this.pronouns,
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.hasEverPurchased,
required this.hasDismissedPremiumOnboarding,
required this.banner,
required this.bannerColor,
required this.mfaEnabled,
required this.nsfwAllowed,
required this.verified,
required this.premiumBadgeMasked,
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.privacyAgreedAt,
required this.premiumBadgeTimestampHidden,
required this.premiumBadgeSequenceHidden,
required this.premiumPurchaseDisabled,
required this.premiumEnabledOverride,
required this.premiumPerksDisabled,
required this.lastVoiceActivitySharingChangeAt,
required this.passwordLastChangedAt,
required this.requiredActions,
this.mentionFlags,
this.authenticatorTypes,
this.timezonePrivacyFlags,
this.timezone,
this.phone,
this.emailBounced,
this.system,
this.ageVerifiedAdult,
this.bot,
this.forceInboundPhoneVerification,
});