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