墙内千兆网站怎么做,如何让百度快速收录网站,广州做网站厉害的公司,餐厅网站建设策划方案友情链接 geweapi.com 点击即可访问 发送app类型消息
小提示#xff1a; 发送一些特殊的消息类型注意参数 请求URL#xff1a;
http://域名地址/api/message/sendapp
请求方式#xff1a;
POST
请求头#xff1a; Content-Type#xff1a;application/json X-GEWE…友情链接 geweapi.com 点击即可访问 发送app类型消息
小提示 发送一些特殊的消息类型注意参数 请求URL
http://域名地址/api/message/sendapp
请求方式
POST
请求头 Content-Typeapplication/json X-GEWE-TOKEN: 后台获取
参数
参数名称数据类型必填说明appidstring是设备idto_wxidstring是接收人 wxid/chatroomidxmlstring是app消息的xml截取 appmsg 节点内容 返回数据
参数名数据类型说明retnumber0成功msgstring反馈信息msg_errstring反馈错误信息dataobjectList.ToUsetNameobject对方用户List.MsgIdNumber消息id 请求参数示例 {appid: wx_ECMY4oEDuQAP6WimpWwWv,to_wxid: xxxxxxxx,xml: appmsg appid sdkver0\n\t\ttitle腾讯云助手/title\n\t\tdes腾讯云助手/des\n\t\taction /\n\t\ttype33/type\n\t\tshowtype0/showtype\n\t\tsoundtype0/soundtype\n\t\tmediatagname /\n\t\tmessageext /\n\t\tmessageaction /\n\t\tcontent /\n\t\tcontentattr0/contentattr\n\t\turl /\n\t\tlowurl /\n\t\tdataurl /\n\t\tlowdataurl /\n\t\tappattach\n\t\t\ttotallen0/totallen\n\t\t\tattachid /\n\t\t\temoticonmd5/emoticonmd5\n\t\t\tfileext /\n\t\t\taeskey/aeskey\n\t\t/appattach\n\t\textinfo /\n\t\tsourceusernamegh_44fc2ced7f87app/sourceusername\n\t\tsourcedisplayname腾讯云助手/sourcedisplayname\n\t\tthumburlhttp://mmbiz.qpic.cn/mmbiz_png/ibdJpKHJ0IksRJXo4ib9nia65YNcIEibhQUONorXibKBoLBX7zqw3eVM6KibrCVPhgV8AeP9BTfSfiaM3s1c0ThQ0jbxA/640?wx_fmtpngamp;wxfrom200/thumburl\n\t\tmd5 /\n\t\tstatextstr /\n\t\tweappinfo\n\t\t\tusername![CDATA[gh_44fc2ced7f87app]]/username\n\t\t\tappid![CDATA[]]/appid\n\t\t\ttype1/type\n\t\t\tversion0/version\n\t\t\tweappiconurl![CDATA[http://mmbiz.qpic.cn/mmbiz_png/ibdJpKHJ0IksRJXo4ib9nia65YNcIEibhQUONorXibKBoLBX7zqw3eVM6KibrCVPhgV8AeP9BTfSfiaM3s1c0ThQ0jbxA/640?wx_fmtpngwxfrom200]]/weappiconurl\n\t\t\tpkginfo\n\t\t\t\ttype0/type\n\t\t\t\tmd5![CDATA[]]/md5\n\t\t\t/pkginfo\n\t\t\twadynamicpageinfo\n\t\t\t\tshouldUseDynamicPage0/shouldUseDynamicPage\n\t\t\t\tcacheKey![CDATA[]]/cacheKey\n\t\t\t/wadynamicpageinfo\n\t\t\tappservicetype0/appservicetype\n\t\t/weappinfo\n\t/appmsg}成功返回示例 {ret: 0,msg: success,data: {BaseResponse: {ret: 0,errMsg: {}},Count: 1,List: [{Ret: 0,ToUsetName: {string: wxid_8pvkddddddt22},MsgId: 0,NewClientMsgid: 2950238266,Createtime: 1688092785,servertime: 1688092899,Type: 1,NewMsgId: 435902963537395300}],NoKnow: 0}}错误返回示例 {ret: -1,msg_err: 失败} 发送消息
小提示 该接口可以发送文本和一些特殊类型消息注意群里某人时记得在at填写他的wxid以及在内容[Content]处填写[他的昵称] 只是发送文本消息时MsgType填写1以及MsgSource为空 请求URL
http://域名地址/api/message/sendmsg
请求方式
POST
请求头 Content-Typeapplication/json X-GEWE-TOKEN: 后台获取
参数
参数名称数据类型必填说明appidstring是设备idto_wxid_listarray是消息接收人的wxid/chatroomidto_wxid_list.atarray是接收者to_wxid_list.contentstring是消息内容to_wxid_list.msg_typestring是消息类型to_wxid_list.to_wxidstring是私聊 接收者
返回数据
参数名数据类型说明retnumber0成功msgstring反馈信息msg_errstring反馈错误信息dataobjecttypestring消息类型ToUsetNamestring接收者 请求参数示例 {appid: wx_ECMY4oEDuQAP6WimpWwWv,to_wxid_list: [{at: [],content: hhh,msg_source: ,msg_type: 1,to_wxid: wxid_8pvkddddddt22}]
}成功返回示例 {ret: 0,msg: success,data: {BaseResponse: {ret: 0,errMsg: {}},Count: 1,List: [{Ret: 0,ToUsetName: {string: zhandaddddd88},MsgId: 0,NewClientMsgid: 3218469563,Createtime: 1689922358,servertime: 1689922360,Type: 1,NewMsgId: 8015075888668773694}],NoKnow: 0}
}