TIMSetConvTotalUnreadMessageCountChangedCallback

功能介绍

设置会话未读消息总数变更的回调

参数详解

参数名称 参数类型 是否必填 描述
params convTotalUnreadMessageCountChangedCallbackParam 设置会话事件回调的参数

返回模板

void

返回值详解

此函数无返回值

代码示例

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

let param:convTotalUnreadMessageCountChangedCallbackParam={
    user_data:"",   //选填
    callback:(data)=>{} //必填
}
timRenderInstance.TIMSetConvTotalUnreadMessageCountChangedCallback(param)

results matching ""

    No results matching ""