修改群名称
修改完群名称后若发现手机未展示修改后的名称,可能是手机缓存未刷新,手机聊天框多切换几次会刷新。
请求参数
Header 参数
export interface ApifoxModel {
"X-GEWE-TOKEN": string;
[property: string]: any;
}
Body 参数 application/json
export interface ApifoxModel {
/**
* 设备ID
*/
appId: string;
/**
* 群ID
*/
chatroomId: string;
/**
* 群名称
*/
chatroomName: string;
[property: string]: any;
}
示例
{
"appId": "",
"chatroomName": "GeWe test",
"chatroomId": "34757816141@chatroom"
}
示例代码
curl --location --request POST 'http://api.geweapi.com/gewe/v2/api/group/modifyChatroomName' \
--header 'X-GEWE-TOKEN: ' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "",
"chatroomName": "GeWe test",
"chatroomId": "34757816141@chatroom"
}'
返回响应
成功(200)
HTTP 状态码: 200 内容格式: JSON
数据结构
export interface ApifoxModel {
msg: string;
ret: number;
[property: string]: any;
}
示例
{
"ret": 200,
"msg": "操作成功"
}