2024-03-12 18:05:27 +00:00
|
|
|
namespace TwitchChatTTS.OBS.Socket.Data
|
|
|
|
{
|
|
|
|
public class RequestMessage
|
|
|
|
{
|
2024-03-15 12:27:35 +00:00
|
|
|
public string RequestType { get; set; }
|
|
|
|
public string RequestId { get; set; }
|
|
|
|
public Dictionary<string, object> RequestData { get; set; }
|
2024-03-12 18:05:27 +00:00
|
|
|
|
2024-06-17 00:19:31 +00:00
|
|
|
public RequestMessage(string type, string id, Dictionary<string, object> data)
|
|
|
|
{
|
2024-03-15 12:27:35 +00:00
|
|
|
RequestType = type;
|
|
|
|
RequestId = id;
|
|
|
|
RequestData = data;
|
2024-03-12 18:05:27 +00:00
|
|
|
}
|
2024-07-16 04:48:55 +00: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 18:05:27 +00:00
|
|
|
}
|
|
|
|
}
|