2024-03-12 14:05:27 -04:00
|
|
|
namespace TwitchChatTTS.OBS.Socket.Data
|
|
|
|
{
|
|
|
|
[Serializable]
|
|
|
|
public class IdentifyMessage
|
|
|
|
{
|
2024-03-15 08:27:35 -04:00
|
|
|
public int RpcVersion { get; set; }
|
|
|
|
public string? Authentication { get; set; }
|
|
|
|
public int EventSubscriptions { get; set; }
|
2024-03-12 14:05:27 -04:00
|
|
|
|
|
|
|
public IdentifyMessage(int version, string auth, int subscriptions) {
|
2024-03-15 08:27:35 -04:00
|
|
|
RpcVersion = version;
|
|
|
|
Authentication = auth;
|
|
|
|
EventSubscriptions = subscriptions;
|
2024-03-12 14:05:27 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|