public class TaskCardBuilder extends BaseBuilder<TaskCardBuilder>
任务卡片消息Builder 用法: WxCustomMessage m = WxCustomMessage.TASKCARD().title(...)....toUser(...).build();
构造器和说明 |
---|
TaskCardBuilder() |
限定符和类型 | 方法和说明 |
---|---|
WxCpMessage |
build() |
TaskCardBuilder |
buttons(java.util.List<TaskCardButton> buttons) |
TaskCardBuilder |
description(java.lang.String description) |
TaskCardBuilder |
taskId(java.lang.String taskId) |
TaskCardBuilder |
title(java.lang.String title) |
TaskCardBuilder |
url(java.lang.String url) |
public TaskCardBuilder title(java.lang.String title)
public TaskCardBuilder description(java.lang.String description)
public TaskCardBuilder url(java.lang.String url)
public TaskCardBuilder taskId(java.lang.String taskId)
public TaskCardBuilder buttons(java.util.List<TaskCardButton> buttons)
public WxCpMessage build()
build
在类中 BaseBuilder<TaskCardBuilder>