TIMSetGroupTopicCreatedCallback

Introduction

Set group topic created callback

Parameter details

Parameter name Parameter type Required Description
params TopicCreatedParam yes Param of setting group topic created 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 { TopicCreatedParam } from "im_electron_sdk/dist/interfaces";
let param:TopicCreatedParam={
    callback:(...args)=>{}
  }
timRenderInstance.TIMSetGroupTopicCreatedCallback(param);

results matching ""

    No results matching ""