| | |
| | | */ |
| | | WxCpPushResultVO pushImage(java.io.File file, Integer scope, String target); |
| | | |
| | | /** |
| | | * 推送视频消息:先把视频上传到企业微信换取 mediaId,再发送视频 |
| | | * |
| | | * @param file 视频文件 |
| | | * @param title 视频标题 |
| | | * @param description 视频描述,可为空 |
| | | * @param scope 推送范围 |
| | | * @param target 推送目标 |
| | | * @return 推送结果 |
| | | */ |
| | | WxCpPushResultVO pushVideo(java.io.File file, String title, String description, |
| | | Integer scope, String target); |
| | | |
| | | /** |
| | | * 推送 Markdown 消息,适合带标题、加粗、列表、引用等排版的正式通知 |
| | | * |
| | | * @param content Markdown 内容(企业微信限制 2048 字节) |
| | | * @param scope 推送范围 |
| | | * @param target 推送目标 |
| | | * @return 推送结果 |
| | | */ |
| | | WxCpPushResultVO pushMarkdown(String content, Integer scope, String target); |
| | | |
| | | /** |
| | | * 推送多图文消息(一次消息带多篇文章) |
| | | * |
| | | * @param articles 图文列表,企业微信限制 1~8 篇 |
| | | * @param scope 推送范围 |
| | | * @param target 推送目标 |
| | | * @return 推送结果 |
| | | */ |
| | | WxCpPushResultVO pushMultiNews(java.util.List<me.chanjar.weixin.cp.bean.article.NewArticle> articles, |
| | | Integer scope, String target); |
| | | |
| | | } |