chensdk

1


发推荐客服

<pre><code>//函数名称 SendCard //功能: 发送客服名片 可以 临时聊天 //dwPid: 企微的pid //pwwxid: 发送人uid //pwKefuid 客服通道id, 每个企业都一样, 保存下来, &amp;quot;25836914285295304&amp;quot; 的形式, 这个不对,名片可以发送成功,但在 微信上 临时聊天 无法聊天 //pwnick: 名片的昵称 //pwcorpname: 名片的公司名 BOOL SendCard(int dwPid, const char* pwwxid, const char* pwKefuid, const char* pwnick, const char* pwcorpname); 1. 给微信好友发送聊天名片 SendCard(1111, &amp;quot;7881299655907111&amp;quot;, &amp;quot;25836914285295304&amp;quot;, &amp;quot;测试客服&amp;quot;, &amp;quot;杭州九天科技&amp;quot;); 2. 群里 发送聊天名片 SendCard(1111, &amp;quot;10964441188989111&amp;quot;, &amp;quot;25836914285295304&amp;quot;, &amp;quot;测试客服&amp;quot;, &amp;quot;杭州九天科技&amp;quot;); 3. 内部同事 发送聊天名片 SendCard(1111, &amp;quot;1688851131109111&amp;quot;, &amp;quot;25836914285295304&amp;quot;, &amp;quot;测试客服&amp;quot;, &amp;quot;杭州九天科技&amp;quot;); pwKefuid : pc企微端 手动发一条 客服名片消息 , 收发消息里监控会有回调, 把 kefu_card_uid保存下来, 这个基本是不变的,调用SendCard 方法 需要用</code></pre> <p>企微功能入口: <img src="http://47.118.50.223/3333.png" alt="" /></p>

页面列表

ITEM_HTML