public static QyJsonResult SendText(string accessToken, KF_User_Type senderType, string senderId, KF_User_Type receiverType,
string receiverId, string content, int timeOut = Config.TIME_OUT)
{
var data = new
{
sender = new
{
type = senderType.ToString(),
id = senderId
},
receiver = new
{
type = receiverType.ToString(),
id = receiverId
},
msgtype = "text",
text = new
{
content = content
}
};
return CommonJsonSend.Send<QyJsonResult>(accessToken, URL_FORMAT, data, CommonJsonSendType.POST, timeOut);
}