namespace axXez.TS3.Protocol
{
/// Fired when a channel is created on the server.
public class ChannelCreatedArgs : TsEntity
{
/// ID of the newly created channel.
[TsField("cid")]
public int ChannelID { get; private set; }
/// ID of the parent channel the new channel was created under; 0 for top-level.
[TsField("cpid")]
public int ParentChannelID { get; private set; }
/// Partial channel state containing the properties set at creation time.
[TsField]
public ChannelInfo ChannelInfo { get; private set; }
/// Client who created the channel.
[TsField]
public InvokerInfo InvokerInfo { get; private set; }
internal ChannelCreatedArgs(TsDataEntry data) : base(data) { }
}
}