随着人工智能和自动化技术的快速发展,微信机器人已经成为越来越多人的选择。它们可以帮助我们自动回复 消息、管理群组、发送定时消息等,极大地提高了我们的工作效率。而GeWe框架,作为一款开源的微信机器人框架,为 开发者提供了便捷的开发体验。接下来,让我们一步步打造属于自己的微信机器人。
删除朋友圈
请求参数
Header 参数
export interface ApifoxModel {
"X-GEWE-TOKEN": string;
[property: string]: any;
}
Body 参数application/json
export interface ApifoxModel {
/**
* 设备ID
*/
appId: null | string;
/**
* 朋友圈ID
*/
snsId: number | null;
[property: string]: any;
}
示例
{
"appId": "",
"snsId": 14292805691027100187
}
示例代码
curl --location --request POST 'http://api.geweapi.com/gewe/v2/api/sns/delSns' \
--header 'X-GEWE-TOKEN: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "",
"snsId": 14292805691027100187
}'
返回响应
成功(200)
HTTP 状态码: 200 内容格式: JSON application/json
数据结构
export interface ApifoxModel {
msg: string;
ret: number;
[property: string]: any;
}
示例
{
"ret": 200,
"msg": "操作成功"
}