创建群聊
请求参数
Header 参数
export interface ApifoxModel {"X-GEWE-TOKEN": string;[property: string]: any;
}
Body 参数application/json
export interface ApifoxModel {/*** 设备ID*/appId: string;/*** 好友的wxid列表*/wxids: string[];[property: string]: any;
}
示例
{"appId": "","wxids": ["wxid_0xsqb3o0tsvz22","wxid_phyyedw9xap22"]
}
示例代码
curl --location --request POST 'http://api.geweapi.com/gewe/v2/api/group/createChatroom' \
--header 'X-GEWE-TOKEN: ' \
--header 'Content-Type: application/json' \
--data-raw '{"appId": "","wxids": ["wxid_0xsqb3o0tsvz22","wxid_phyyedw9xap22"]
}'
返回响应
成功(200)
HTTP 状态码: 200 内容格式: JSON application/json
数据结构
export interface ApifoxModel {data: Data;msg: string;ret: number;[property: string]: any;
}export interface Data {/*** 群ID*/chatroomId: string;/*** 群头像的base64图片*/headImgBase64: string;[property: string]: any;
}
示例
{"ret":200,"msg":"操作成功","data":{"headImgBase64":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCA