GeWe框架:微信个人号自动化开发利器
GeWe框架是对微信开放平台API进行深度封装的强大工具。它大幅降低了微信个人号自动化的开发门槛,提供卓越的事件处理与任务驱动能力。
- 智能消息处理: 自动收发私聊/群消息,支持关键词触发自动回复。
- 高效群组管理: 轻松执行自动邀请入群、成员管理(如踢人、禁言)等操作。
- 灵活事件响应: 自如应对各类微信事件(好友请求、入群邀请、转账通知等)。
请求参数
Header 参数
export interface ApifoxModel {"X-GEWE-TOKEN": string;[property: string]: any;
}
Body 参数application/json
export interface ApifoxModel {/*** 设备ID*/appId: string;/*** 群ID*/chatroomId: string;/*** 邀请进群的说明*/reason: string;/*** 邀请进群的好友wxid,多个英文逗号分隔*/wxids: string;[property: string]: any;
}
示例
{"appId": "{{appid}}","wxids": "wxid_8pvka4jg6qzt22","chatroomId": "34757816141@chatroom","reason": ""
}
示例代码
curl --location --request POST 'http://api.geweapi.com/gewe/v2/api/group/inviteMember' \
--header 'X-GEWE-TOKEN: ' \
--header 'Content-Type: application/json' \
--data-raw '{"appId": "","wxids": "wxid_8pvka4jg6qzt22","chatroomId": "34757816141@chatroom","reason": ""
}'
返回响应
export interface ApifoxModel {msg: string;ret: number;[property: string]: any;
}
示例
{"ret": 200,"msg": "操作成功"
}