public final class VideoBuilder extends BaseBuilder<VideoBuilder>
用法: WxCustomMessage m = WxCustomMessage.VOICE() .mediaId(...) .title(...) .thumbMediaId(..) .description(..) .toUser(...) .build();
构造器和说明 |
---|
VideoBuilder()
Instantiates a new Video builder.
|
限定符和类型 | 方法和说明 |
---|---|
WxCpMessage |
build()
Build wx cp message.
|
VideoBuilder |
description(String description)
Description video builder.
|
VideoBuilder |
mediaId(String mediaId)
Media id video builder.
|
VideoBuilder |
thumbMediaId(String thumb_media_id)
Thumb media id video builder.
|
VideoBuilder |
title(String title)
Title video builder.
|
public VideoBuilder mediaId(String mediaId)
mediaId
- the media idpublic VideoBuilder title(String title)
title
- the titlepublic VideoBuilder description(String description)
description
- the descriptionpublic VideoBuilder thumbMediaId(String thumb_media_id)
thumb_media_id
- the thumb media idpublic WxCpMessage build()
BaseBuilder
build
在类中 BaseBuilder<VideoBuilder>
Copyright © 2024. All rights reserved.