Package com.whatsapp.api.domain.messages
Class ImageMessage
java.lang.Object
com.whatsapp.api.domain.messages.MediaMessage<ImageMessage>
com.whatsapp.api.domain.messages.ImageMessage
The type Image message.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.whatsapp.api.domain.messages.MediaMessage
getId, getLink, setId, setLink
-
Constructor Details
-
ImageMessage
public ImageMessage()
-
-
Method Details
-
getCaption
Gets caption.- Returns:
- the caption
-
setCaption
Sets caption.- Parameters:
caption
- Describes the specified image, document, or video media. Do not use with audio or sticker media.- Returns:
- the caption
-