TIMSetGroupTopicDeletedCallback
Introduction
Set group topic deleted callback
Parameter details
Parameter name |
Parameter type |
Required |
Description |
params |
TopicDeletedParam |
yes |
Param of setting group topic deleted 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 { TopicDeletedParam } from "im_electron_sdk/dist/interfaces";
let param : TopicDeletedParam = {
callback: (data) => {},
data: ''
}
timRenderInstance.TIMSetGroupTopicDeletedCallback(param)