华为云WeLink-图文消息:请求示例
时间:2025-02-12 14:53:05
请求示例
- 请求参数示例
{ "toUserList": ["john@welink", "zhangsan@welink"], "news": [ { "title":"多图文1", "description":"多图文1", "urlType": "html", "newsUrl": "https://www.baidu.com", "imageUrl": "https://open.welink.huaweicloud.com/tinyimage/v2/images/8c87826bf4be6540b460_298x206.png" }, { "title":"多图文2", "description":"多图文2", "urlType": "html", "newsUrl": "https://www.baidu.com", "imageUrl": "https://open.welink.huaweicloud.com/tinyimage/v2/images/8c87826bf4be6540b460_298x206.png" } ]}
- 请求URL示例
curl -X POST \ 'https://open.welink.huaweicloud.com/api/messages/v1/news' \ -H 'Content-Type: application/json' \ -H 'x-wlk-Authorization: access_token' \ -d '{"请求参数 json格式"}'
support.huaweicloud.com/devg-welink/start-144.html