Пример #1
0
        /// <summary>
        /// 方法说明:SDK发送点对点阅后即焚消息已读回执
        /// 完成时间:2015-05-16
        /// </summary>
        /// <param name="receiptedchatmsgEntity">点对点聊天收到的阅后即焚消息实体</param>
        /// <param name="errorMsg">错误提示</param>
        /// <returns>是否成功发送点对点阅后即焚已读回执</returns>
        public bool SdkPublishPointBurnReadReceiptMsg(MsPointBurnReaded receiptedchatmsgEntity, ref string errorMsg)
        {
            var jsonStr = MsgConverter.GetJsonByPointReadedReceipt(receiptedchatmsgEntity, ref errorMsg);

            return(!string.IsNullOrEmpty(jsonStr) && Publish(TopicSend.sdk_send.ToString(), jsonStr, false, ref errorMsg));
        }