29 lines
986 B
C#
29 lines
986 B
C#
namespace Discord
|
|
{
|
|
public class User : Base
|
|
{
|
|
public required string Id { get; set; }
|
|
public required string Username { get; set; }
|
|
public required string Discriminator { get; set; }
|
|
public required string? GlobalName { get; set; }
|
|
public required string? Avatar { get; set; }
|
|
public bool Bot { get; set; }
|
|
public bool System { get; set; }
|
|
public bool MfaEnabled { get; set; }
|
|
public string? Banner { get; set; }
|
|
public int? AccentColor { get; set; }
|
|
public string? Locale { get; set; }
|
|
public bool Verified { get; set; }
|
|
public string? Email { get; set; }
|
|
public int Flags { get; set; }
|
|
public int PremiumType { get; set; }
|
|
public int PublicFlags { get; set; }
|
|
public AvatarDecorationData? AvatarDecorationData { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return JSON.Serialize(this);
|
|
}
|
|
}
|
|
}
|