Impl Send Text Message

This commit is contained in:
Changhua 2022-08-06 17:29:37 +08:00
parent 5f3ba38d87
commit d009d8e294
2 changed files with 4 additions and 3 deletions

View File

@ -59,9 +59,10 @@ int main()
wcout << L"Message: 接收通知中......" << endl;
WxSetTextMsgCb(onTextMsg);
#if 0
// 测试消息发送
WxSendTextMsg(wxid, at_wxid, content);
WxSendTextMsg(wxid, at_wxid, content);
#if 0
// 发送照片
WxSendImageMsg(wxid, img_path);

View File

@ -7,7 +7,7 @@
WxCalls_t wxCalls = {
0x23631D0, // Login Status
{ 0x236307C, 0x23630F4, 0x2363128 }, // User Info: wxid, nickname, mobile
0x3E3B80, // Send Message
0x521D30, // Send Message
/* Receive Message:
Hook, call, type, self, id, msgXml, roomId, wxId, content */
{ 0x550F4C, 0xA94A50, 0x38, 0x3C, 0x184, 0x1EC, 0x48, 0x170, 0x70 },