第三方应用开发调用企业微信发送应用消息(任务卡片),如何支持id转义?

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:07 3979 0 全屏看文

AI助手支持GPT4.0

第三方应用开发调用企业微信发送应用消息(任务卡片),如何支持id转义?

请求地址:

https://qyapi.weixin.qq.com/cgi-bin/message/send

入参:

{

  "touser": "c7c837029108ce4d7309054af20270dc",

  "agentid": 1000003,

  "msgtype": "taskcard",

  "taskcard": {

    "title": "$userName=BaoXiaoHan$赵明登的礼物申请",

    "description": "$userName=BaoXiaoHan$",

    "task_id": "taskid123111249",

    "btn": [{

        "key": "1212",

        "name": "批准",

        "replace_name": "已批准",

        "color": "red",

        "is_bold": true

      },

      {

        "key": "key222132212",

        "name": "驳回",

        "replace_name": "已驳回"

      }

    ]

  },

  "enable_id_trans": 1

}

发送的效果


已开启了id转义   "enable_id_trans": 1 , userid : BaoXiaoHan 在企业中存在

Request address: https://qyapi.weixin.qq.com/cgi-bin/message/send Reference: {"touser": "c7c837029108ce4d7309054af20270dc", "AgentID": 1000003, "msgtype": "taskcard", "taskcard": {"title": "$username = baoxiaohan $Zhao Mingdeng's gift application", "description": "$username = baoxiaohan $", task_ ID ":" taskid123111249 "," BTN ": [{" key ":" 1212 "," name ":" approve "," replace "_ Name ":" approved "," color ":" red "," is "_ Bold ": true}, {" key ":" key222132212 "," name ":" reject "," replace "_ Name ': "rejected"}]}, "enable_ Id_ The effect of trans ": 1} sending has ID escape enabled_ Id_ Trans ": 1, userid: baoxiaohan exists in the enterprise

回答:

企业微信运营专员-千夜:

您好,这个确认是已知问题,稍后会上线优化

taotao:谢谢,今天测试没有问题了

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
请问企业微信的Workplace中的 Application设定URL在浏览器中打开吗?
3月18日后小游戏内存升高
关于微信支付里面的现金红包限制问题?
微信安卓端部分ttf字体显示不全
jsapi微信支付成功 没有收到异步通知
随便看看
线上防疫题库正确答案 2932
线上防疫题库正确答案(多选题) 4825
微信设置不可以使用小程序(游戏小程序) 5634
adsense申请已经支付的订单回退的网址 3212
BT面板查看网站入口、账号密码的命令 6008
ucloud海外服务器超级优惠券 3274
根据您的消费情况,您的延停权益已发生变化,变更后的延停权益为延停额度20.00元 5831
为什么我们喜欢迈克尔杰克逊。 4164
阿里云com、cn域名续费优惠码(2020年5月可用) 3586
阿里云com、cn域名续费优惠码(2020年6月可用) 3606