Uses of Class
com.bytedesk.core.webhook.channel.WeChatWorkTemplateCardBuilder
Packages that use WeChatWorkTemplateCardBuilder
-
Uses of WeChatWorkTemplateCardBuilder in com.bytedesk.core.webhook.channel
Methods in com.bytedesk.core.webhook.channel that return WeChatWorkTemplateCardBuilderModifier and TypeMethodDescriptionWeChatWorkTemplateCardBuilder.addHorizontalContent
(String keyname, String value, Integer type, String url, String mediaId, String userid) 添加一个水平内容项WeChatWorkTemplateCardBuilder.addJumpItem
(String title, Integer type, String url, String appid, String pagepath) 添加一个跳转项WeChatWorkTemplateCardBuilder.addVerticalContent
(String title, String desc) 添加一个垂直内容项WeChatWorkTemplateCardBuilder.cardAction
(Integer type, String url, String appid, String pagepath) 设置整体卡片点击跳转事件设置图片样式(仅图文展示卡片支持)设置卡片类型WeChatWorkTemplateCardBuilder.emphasisContent
(String title, String desc) 设置关键数据样式WeChatWorkTemplateCardBuilder.horizontalContentList
(List<Map<String, Object>> horizontalContents) 设置二级标题+文本列表WeChatWorkTemplateCardBuilder.imageTextArea
(Integer type, String url, String appid, String pagepath, String title, String desc, String imageUrl) 设置左图右文样式(仅图文展示卡片支持)设置跳转指引样式列表设置主标题WeChatWorkTemplateCardBuilder.newsNotice()
创建图文展示模板卡片构建器WeChatWorkTemplateCardBuilder.quoteArea
(Integer type, String url, String appid, String pagepath, String title, String quoteText) 设置引用文献样式设置来源信息WeChatWorkTemplateCardBuilder.subTitleText
(String subTitleText) 设置二级普通文本WeChatWorkTemplateCardBuilder.textNotice()
创建文本通知模板卡片构建器WeChatWorkTemplateCardBuilder.verticalContentList
(List<Map<String, String>> verticalContents) 设置卡片二级垂直内容(仅图文展示卡片支持)