功能介绍
删除话题
参数详解
返回模板
Promise<commonResult<Array<TopicOperationResult> >>
{
code: TIMResult | TIMErrCode;
desc?: string | undefined;
json_param?: Array<TopicOperationResult> | undefined;
json_params?: Array<TopicOperationResult> | undefined;
user_data?: string | undefined;
}
返回值详解
代码示例
import TimRender from "im_electron_sdk/dist/renderer";
const timRenderInstance = new TimRender();
import { DeleteTopicParam } from "im_electron_sdk/dist/interfaces";
let param:DeleteTopicParam = {
group_id: "",
json_topic_id_array: [""]
}
const {code} = timRenderInstance.TIMGroupDeleteTopicFromCommunity(param)
if(code == 0){
}