35 lines
830 B
C#
35 lines
830 B
C#
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace Maki.Structures.Gateway
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Discord Gateway Voice State Update structure
|
|||
|
/// </summary>
|
|||
|
internal struct GatewayVoiceStateUpdate
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// id of the guild
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("guild_id")]
|
|||
|
public ulong Guild;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// id of the voice channel client wants to join (null if disconnecting)
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("channel_id")]
|
|||
|
public ulong? Channel;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// is the client muted
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("self_mute")]
|
|||
|
public bool Muted;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// is the client deafened
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("self_deaf")]
|
|||
|
public bool Deafened;
|
|||
|
}
|
|||
|
}
|