You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
#pragma warning disable CS1591
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Discord.API
|
|
{
|
|
internal class User
|
|
{
|
|
[JsonProperty("id")]
|
|
public ulong Id { get; set; }
|
|
[JsonProperty("username")]
|
|
public Optional<string> Username { get; set; }
|
|
[JsonProperty("discriminator")]
|
|
public Optional<string> Discriminator { get; set; }
|
|
[JsonProperty("bot")]
|
|
public Optional<bool> Bot { get; set; }
|
|
[JsonProperty("avatar")]
|
|
public Optional<string> Avatar { get; set; }
|
|
|
|
//CurrentUser
|
|
[JsonProperty("verified")]
|
|
public Optional<bool> Verified { get; set; }
|
|
[JsonProperty("email")]
|
|
public Optional<string> Email { get; set; }
|
|
[JsonProperty("mfa_enabled")]
|
|
public Optional<bool> MfaEnabled { get; set; }
|
|
[JsonProperty("flags")]
|
|
public Optional<UserProperties> Flags { get; set; }
|
|
[JsonProperty("premium_type")]
|
|
public Optional<PremiumType> PremiumType { get; set; }
|
|
[JsonProperty("locale")]
|
|
public Optional<string> Locale { get; set; }
|
|
}
|
|
}
|