Impl Send Image
This commit is contained in:
parent
30b4c866f6
commit
ac36c9df54
@ -78,12 +78,12 @@ int main()
|
|||||||
wprintf(L"测试发送消息\n");
|
wprintf(L"测试发送消息\n");
|
||||||
WxSendTextMsg(wxid, at_wxid, content);
|
WxSendTextMsg(wxid, at_wxid, content);
|
||||||
Sleep(1000); // 等待1秒
|
Sleep(1000); // 等待1秒
|
||||||
#if 0
|
|
||||||
// 测试发送照片
|
// 测试发送照片
|
||||||
wprintf(L"测试发送照片\n");
|
wprintf(L"测试发送照片\n");
|
||||||
WxSendImageMsg(wxid, img_path);
|
WxSendImageMsg(wxid, img_path);
|
||||||
Sleep(1000); // 等待1秒
|
Sleep(1000); // 等待1秒
|
||||||
|
#if 0
|
||||||
// 测试获取联系人
|
// 测试获取联系人
|
||||||
auto mContact = WxGetContacts();
|
auto mContact = WxGetContacts();
|
||||||
printContacts(mContact);
|
printContacts(mContact);
|
||||||
|
@ -10,7 +10,7 @@ WxCalls_t wxCalls = { 0x2366538, // Login Status
|
|||||||
/* Receive Message:
|
/* Receive Message:
|
||||||
Hook, call, type, self, id, msgXml, roomId, wxId, content */
|
Hook, call, type, self, id, msgXml, roomId, wxId, content */
|
||||||
{ 0x550F4C, 0xA96350, 0x38, 0x3C, 0x184, 0x1EC, 0x48, 0x170, 0x70 },
|
{ 0x550F4C, 0xA96350, 0x38, 0x3C, 0x184, 0x1EC, 0x48, 0x170, 0x70 },
|
||||||
{ 0xBD780, 0x770120, 0x521640 }, // Send Image Message
|
{ 0xBD780, 0x771980, 0x521640 }, // Send Image Message
|
||||||
/* Get Contacts:
|
/* Get Contacts:
|
||||||
Base, head, wxId, Code, Name, Gender, Country, Province, City*/
|
Base, head, wxId, Code, Name, Gender, Country, Province, City*/
|
||||||
{ 0x23638F4, 0x4C, 0x30, 0x44, 0x8C, 0x184, 0x1D0, 0x1E4, 0x1F8 },
|
{ 0x23638F4, 0x4C, 0x30, 0x44, 0x8C, 0x184, 0x1D0, 0x1E4, 0x1F8 },
|
||||||
|
Loading…
Reference in New Issue
Block a user