TIMSetMsgReadedReceiptCallback

功能介绍

设置消息已读回执回调

发送方发送消息,接收方调用接口TIMMsgReportReaded上报该消息已读,发送方ImSDK会通过此接口设置的回调抛出。

参数详解

参数名称 参数类型 是否必填 描述
params TIMMsgReadedReceiptCallbackParams 设置消息已读回执回调的参数

返回模板

void

返回值详解

此函数无返回值

代码示例

import TimRender from "im_electron_sdk/dist/renderer";
const timRenderInstance = new TimRender();
import { TIMMsgReadedReceiptCallbackParams } from "im_electron_sdk/dist/interfaces";

let param :TIMMsgReadedReceiptCallbackParams = {
    callback: (data)=>{},
    user_data: ""
}
timRenderInstance.TIMSetMsgReadedReceiptCallback(param);

results matching ""

    No results matching ""