Implement AuthService and ApiClient core logic
This commit is contained in:
27
Models/TextChannelServiceModels.cs
Normal file
27
Models/TextChannelServiceModels.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Chtn.CSharp.SDK.Models.Common;
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Chtn.CSharp.SDK.Models.Chat.TextChannel
|
||||
{
|
||||
public class ChannelMessage
|
||||
{
|
||||
[JsonProperty("msgid")] public string MsgId { get; set; }
|
||||
[JsonProperty("author")] public PublicUserData Author { get; set; }
|
||||
[JsonProperty("message")] public string Message { get; set; }
|
||||
[JsonProperty("channelId")] public string ChannelId { get; set; }
|
||||
[JsonProperty("files")] public List<Attachment> Files { get; set; }
|
||||
}
|
||||
|
||||
public class ChannelPinMessageReq
|
||||
{
|
||||
[JsonProperty("channelId")] public string ChannelId { get; set; }
|
||||
[JsonProperty("messageId")] public string MessageId { get; set; }
|
||||
}
|
||||
|
||||
public class ChannelJoinWsRoomReq
|
||||
{
|
||||
[JsonProperty("connId")] public string ConnId { get; set; }
|
||||
[JsonProperty("channelId")] public string ChannelId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user