namespace axXez.TS3.Protocol
{
/// Fired when channel properties are changed. Only the modified fields are included.
public class ChannelEditedArgs : TsEntity
{
/// ID of the edited channel.
[TsField("cid")]
public int ChannelID { get; private set; }
/// Reason for the edit.
[TsField("reasonid")]
public EventReason ReasonID { get; private set; }
/// Client who performed the edit.
[TsField]
public InvokerInfo InvokerInfo { get; private set; }
/// Partial channel state containing only the properties that were changed.
[TsField]
public ChannelInfo ChannelInfo { get; private set; }
internal ChannelEditedArgs(TsDataEntry data) : base(data) { }
}
}