Class WhatsAppBotTextMessage
-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorMessage,ai.tock.bot.connector.ConnectorMessageProvider
public final class WhatsAppBotTextMessage extends WhatsAppBotMessage
-
-
Field Summary
Fields Modifier and Type Field Description private final WhatsAppTextBodytextprivate final WhatsAppBotRecipientTyperecipientTypeprivate final BooleanpreviewUrlprivate final ConnectorTypeconnectorTypeprivate final Stringtoprivate final WhatsAppBotMessageTypetype
-
Constructor Summary
Constructors Constructor Description WhatsAppBotTextMessage(WhatsAppTextBody text, WhatsAppBotRecipientType recipientType, String userId, Boolean previewUrl)
-
Method Summary
Modifier and Type Method Description final WhatsAppTextBodygetText()WhatsAppBotRecipientTypegetRecipientType()final BooleangetPreviewUrl()GenericMessagetoGenericMessage()-
Methods inherited from class ai.tock.bot.connector.whatsapp.model.send.WhatsAppBotMessage
getConnectorType, getTo, getType -
Methods inherited from class ai.tock.bot.connector.ConnectorMessage
obfuscate, toConnectorMessage -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
WhatsAppBotTextMessage
WhatsAppBotTextMessage(WhatsAppTextBody text, WhatsAppBotRecipientType recipientType, String userId, Boolean previewUrl)
-
-
Method Detail
-
getText
final WhatsAppTextBody getText()
-
getRecipientType
WhatsAppBotRecipientType getRecipientType()
-
getPreviewUrl
final Boolean getPreviewUrl()
-
toGenericMessage
GenericMessage toGenericMessage()
-
-
-
-