TIMSetGroupAttributeChangedCallback

Introduction

Set group attribute changed callback

If some attributes from a joined group are modified, all members from that group will receive the all the modified attributes

Parameter details

Parameter name Parameter type Required Description
params GroupAttributeCallbackParams yes Param of setting group attribute 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 { GroupAttributeCallbackParams } from "im_electron_sdk/dist/interfaces";

let param: GroupAttributeCallbackParams = {
  callback: (data) => { }, // required
  data: ''    // optional
}
timRenderInstance.TIMSetGroupAttributeChangedCallback(param)

results matching ""

    No results matching ""