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

35 lines
830 B
C#
Raw Permalink Normal View History

2017-05-14 12:02:51 +00:00
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;
}
}