欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 汽车 > 新车 > 免费开源的微信开发框架

免费开源的微信开发框架

2025/3/17 22:23:13 来源:https://blog.csdn.net/2401_82817454/article/details/144540072  浏览:    关键词:免费开源的微信开发框架

创建群聊

请求参数

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

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词