2024-03-12 14:05:27 -04:00
|
|
|
namespace TwitchChatTTS.OBS.Socket.Data
|
|
|
|
{
|
|
|
|
public class RequestMessage
|
|
|
|
{
|
2024-03-15 08:27:35 -04:00
|
|
|
public string RequestType { get; set; }
|
|
|
|
public string RequestId { get; set; }
|
|
|
|
public Dictionary<string, object> RequestData { get; set; }
|
2024-03-12 14:05:27 -04:00
|
|
|
|
2024-06-16 20:19:31 -04:00
|
|
|
public RequestMessage(string type, string id, Dictionary<string, object> data)
|
|
|
|
{
|
2024-03-15 08:27:35 -04:00
|
|
|
RequestType = type;
|
|
|
|
RequestId = id;
|
|
|
|
RequestData = data;
|
2024-03-12 14:05:27 -04:00
|
|
|
}
|
2024-07-16 00:48:55 -04:00
|
|
|
|
|
|
|
public RequestMessage(string type, Dictionary<string, object> data) : this(type, string.Empty, data) { }
|
|
|
|
|
|
|
|
public RequestMessage(string type) : this(type, string.Empty, new()) { }
|
2024-03-12 14:05:27 -04:00
|
|
|
}
|
|
|
|
}
|