using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.MyGame.Scripts.Net.APIRequest.Objs
{
///
/// 发起会话请求对象(POST)
///
public class StartConversationObj : RequestObjBase
{
///
/// 用户ID
///
public string userId;
///
/// 用户名称
///
public string userName;
}
///
/// 发送消息请求对象(POST)
///
public class SendMessageObj : RequestObjBase
{
///
/// 会话ID
///
public string conversationId;
///
/// 发送者类型(1:用户 2:客服)
///
public int senderType;
///
/// 发送者ID
///
public string senderId;
///
/// 发送者名称
///
public string senderName;
///
/// 发送者头像
///
public string senderAvatar;
///
/// 内容类型(1:文字 2:图片)
///
public int contentType;
///
/// 消息内容(文字内容或图片URL)
///
public string content;
}
///
/// 结束会话请求对象(POST)
///
public class EndConversationObj : RequestObjBase
{
///
/// 会话ID
///
public string conversationId;
}
///
/// 更新客服状态请求对象(POST)
///
public class UpdateCustomerStatusObj : RequestObjBase
{
///
/// 客服用户ID
///
public string userId;
///
/// 状态(0:离线 1:在线)
///
public int status;
}
}