发文字Ex
<pre><code> 功能等价于 SendCommand函数 发文字,c语言 版本,支持 Emoji表情字符
//功能: 发送文字
//dwPid: 企微的pid
//pwwxid: 发送人uid utf8编码
//pwText: 文字内容 utf8编码
//request_id: 消息执行结果id, utf8编码, 不需要使用 填 &quot;&quot;
int__stdcall SendTextEx(int dwPid, const char* pwwxid, const char* pwText, const char* pwRequest_id);
wchar_t sEmoji[] = { 0xD83D, 0xDE0F, 0x261D, 0xD83D, 0xDCAA ,0 };//表情字符
SendTextEx(1234, &quot;7881299655907111, UTF1628(sEmoji)c_str() );</code></pre>