20 lines
476 B
C#
20 lines
476 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Chtn.CSharp.SDK.Models.Websocket
|
|
{
|
|
public class WSMessagePayload
|
|
{
|
|
[JsonProperty("action")] public string Action { get; set; }
|
|
[JsonProperty("data")] public string Data { get; set; }
|
|
}
|
|
|
|
public class WSMakeTokenReq
|
|
{
|
|
[JsonProperty("userid")] public string UserId { get; set; }
|
|
}
|
|
|
|
public class WSMakeTokenResp
|
|
{
|
|
[JsonProperty("token")] public string Token { get; set; }
|
|
}
|
|
} |