Archived
1
0
Fork 0
This repository has been archived on 2024-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
maki/Maki/Structures/Gateway/GatewayVoiceStateUpdate.cs
2017-05-14 14:02:51 +02:00

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;
}
}