Module it.auties.whatsapp4j
Class VideoMessage.SimpleVideoMessageBuilder
java.lang.Object
it.auties.whatsapp.model.message.standard.VideoMessage.SimpleVideoMessageBuilder
- Enclosing class:
- VideoMessage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private ContextInfo
private byte[]
private String
private byte[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
contextInfo
(ContextInfo contextInfo) media
(byte[] media) thumbnail
(byte[] thumbnail) toString()
-
Field Details
-
media
private byte[] media -
mimeType
-
caption
-
thumbnail
private byte[] thumbnail -
contextInfo
-
-
Constructor Details
-
SimpleVideoMessageBuilder
SimpleVideoMessageBuilder()
-
-
Method Details
-
media
- Parameters:
media
- the non-null video that the new message wraps- Returns:
this
.
-
mimeType
- Parameters:
mimeType
- the mime type of the new message, by defaultMediaMessageType.defaultMimeType()
- Returns:
this
.
-
caption
- Parameters:
caption
- the caption of the new message- Returns:
this
.
-
thumbnail
- Parameters:
thumbnail
- the thumbnail of the sticker that the new message wraps as a jpg- Returns:
this
.
-
contextInfo
- Parameters:
contextInfo
- the context info that the new message wraps- Returns:
this
.
-
build
-
toString
-