TIMSetConvTotalUnreadMessageCountChangedCallback

Introduction

Set conversation total unread message count changed callback

Parameter details

Parameter name Parameter type Required Description
params convTotalUnreadMessageCountChangedCallbackParam yes Param of setting conversation total unread message count changed callback

Returned template

void

Return value details

This function has no return value

Code example

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: "",   // optional
    callback: (data) => { } // required
}
timRenderInstance.TIMSetConvTotalUnreadMessageCountChangedCallback(param)

results matching ""

    No results matching ""