public final class NewsBuilder extends BaseBuilder<NewsBuilder>
用法: WxCustomMessage m = WxCustomMessage.NEWS().addArticle(article).toUser(...).build();
构造器和说明 |
---|
NewsBuilder() |
限定符和类型 | 方法和说明 |
---|---|
NewsBuilder |
addArticle(NewArticle... articles) |
NewsBuilder |
articles(java.util.List<NewArticle> articles) |
WxCpMessage |
build() |
public NewsBuilder addArticle(NewArticle... articles)
public NewsBuilder articles(java.util.List<NewArticle> articles)
public WxCpMessage build()
build
在类中 BaseBuilder<NewsBuilder>