TIMSetGroupCounterChangedCallback

Introduction

Set group counter changed callback

If the counter of a joined group is modified, the currently changed group counter will be returned (all members of the group can receive it)

Parameter details

Parameter name Parameter type Required Description
params GroupCounterChangedParam yes Param of setting group counter changed callback

Returned template

Promise<any>

Return value details

name type description
data any return value

Code example

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

let param:GroupCounterChangedParam = {
      callback:(...args)=>{}
    }
timRenderInstance.TIMSetGroupCounterChangedCallback(param);

results matching ""

    No results matching ""