forked from EllieBotDevs/elliebot
23 lines
507 B
C#
23 lines
507 B
C#
|
using Newtonsoft.Json;
|
||
|
|
||
|
namespace Ayu.Discord.Voice.Models
|
||
|
{
|
||
|
public sealed class SelectProtocol
|
||
|
{
|
||
|
[JsonProperty("protocol")]
|
||
|
public string Protocol { get; set; }
|
||
|
|
||
|
[JsonProperty("data")]
|
||
|
public ProtocolData Data { get; set; }
|
||
|
|
||
|
public sealed class ProtocolData
|
||
|
{
|
||
|
[JsonProperty("address")]
|
||
|
public string Address { get; set; }
|
||
|
[JsonProperty("port")]
|
||
|
public int Port { get; set; }
|
||
|
[JsonProperty("mode")]
|
||
|
public string Mode { get; set; }
|
||
|
}
|
||
|
}
|
||
|
}
|