TIMGroupGetTopicInfoList
功能介绍
获取话题列表
参数详解
返回模板
Promise<commonResult<Array<GroupTopicInfoResult> >>
{
code: TIMResult | TIMErrCode;
desc?: string | undefined;
json_param?: Array<GroupTopicInfoResult> | undefined;
json_params?: Array<GroupTopicInfoResult> | 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} = await timRenderInstance.TIMGroupGetTopicInfoList(param)
if(code == 0){
}