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.
25 lines
742 B
25 lines
742 B
#pragma warning disable CS1591
|
|
using Newtonsoft.Json;
|
|
using System;
|
|
|
|
namespace Discord.API
|
|
{
|
|
internal class GuildMember
|
|
{
|
|
[JsonProperty("user")]
|
|
public User User { get; set; }
|
|
[JsonProperty("nick")]
|
|
public Optional<string> Nick { get; set; }
|
|
[JsonProperty("roles")]
|
|
public Optional<ulong[]> Roles { get; set; }
|
|
[JsonProperty("joined_at")]
|
|
public Optional<DateTimeOffset> JoinedAt { get; set; }
|
|
[JsonProperty("deaf")]
|
|
public Optional<bool> Deaf { get; set; }
|
|
[JsonProperty("mute")]
|
|
public Optional<bool> Mute { get; set; }
|
|
[JsonProperty("premium_since")]
|
|
public Optional<DateTimeOffset?> PremiumSince { get; set; }
|
|
}
|
|
}
|