UserPartialResponse constructor

const UserPartialResponse({
  1. required String id,
  2. required String username,
  3. required String discriminator,
  4. required String? globalName,
  5. required String? avatar,
  6. required Int32Type? avatarColor,
  7. required PublicUserFlags flags,
  8. bool? bot,
  9. bool? system,
  10. MentionReplyPreferences? mentionFlags,
})

Implementation

const UserPartialResponse({
  required this.id,
  required this.username,
  required this.discriminator,
  required this.globalName,
  required this.avatar,
  required this.avatarColor,
  required this.flags,
  this.bot,
  this.system,
  this.mentionFlags,
});