Package com.whatsapp.api.domain.messages
Class Message
java.lang.Object
com.whatsapp.api.domain.messages.Message
To send a message, you must first assemble a message object with the content you want to send.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets audio message.Gets contact message.Gets context.Gets document message.Gets image message.Gets interactive message.Gets location message.Gets messaging product.Gets reaction message.Gets recipient type.Gets sticker message.Gets template message.Gets text message.getTo()
Gets to.getType()
Gets type.Gets video message.
-
Method Details
-
getMessagingProduct
Gets messaging product.- Returns:
- the messaging product
-
getRecipientType
Gets recipient type.- Returns:
- the recipient type
-
getContext
Gets context.- Returns:
- the context
-
getInteractiveMessage
Gets interactive message.- Returns:
- the interactive message
-
getTo
Gets to.- Returns:
- the to
-
getType
Gets type.- Returns:
- the type
-
getTextMessage
Gets text message.- Returns:
- the text message
-
getContactMessage
Gets contact message.- Returns:
- the contact message
-
getTemplateMessage
Gets template message.- Returns:
- the template message
-
getAudioMessage
Gets audio message.- Returns:
- the audio message
-
getDocumentMessage
Gets document message.- Returns:
- the document message
-
getImageMessage
Gets image message.- Returns:
- the image message
-
getStickerMessage
Gets sticker message.- Returns:
- the sticker message
-
getVideoMessage
Gets video message.- Returns:
- the video message
-
getReactionMessage
Gets reaction message.- Returns:
- the reaction message
-
getLocationMessage
Gets location message.- Returns:
- the location message
-