-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorMessage,ai.tock.bot.connector.ConnectorMessageProvider
public final class WhatsAppBotInteractiveMessage extends WhatsAppBotMessage
-
-
Field Summary
Fields Modifier and Type Field Description private final WhatsAppTemplatetemplateprivate final WhatsAppBotRecipientTyperecipientTypeprivate final ConnectorTypeconnectorTypeprivate final Stringtoprivate final WhatsAppBotMessageTypetype
-
Constructor Summary
Constructors Constructor Description WhatsAppBotInteractiveMessage(WhatsAppTemplate template, WhatsAppBotRecipientType recipientType, String userId)
-
Method Summary
Modifier and Type Method Description final WhatsAppTemplatecomponent1()final WhatsAppBotRecipientTypecomponent2()final WhatsAppBotInteractiveMessagecopy(WhatsAppTemplate template, WhatsAppBotRecipientType recipientType, String userId)final WhatsAppTemplategetTemplate()WhatsAppBotRecipientTypegetRecipientType()ConnectorTypegetConnectorType()final StringgetTo()final WhatsAppBotMessageTypegetType()-
Methods inherited from class ai.tock.bot.connector.ConnectorMessageProvider
equals, hashCode, toString -
Methods inherited from class ai.tock.bot.connector.whatsapp.model.send.WhatsAppBotMessage
obfuscate, toConnectorMessage, toGenericMessage -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
WhatsAppBotInteractiveMessage
WhatsAppBotInteractiveMessage(WhatsAppTemplate template, WhatsAppBotRecipientType recipientType, String userId)
-
-
Method Detail
-
component1
final WhatsAppTemplate component1()
-
component2
final WhatsAppBotRecipientType component2()
-
copy
final WhatsAppBotInteractiveMessage copy(WhatsAppTemplate template, WhatsAppBotRecipientType recipientType, String userId)
-
getTemplate
final WhatsAppTemplate getTemplate()
-
getRecipientType
WhatsAppBotRecipientType getRecipientType()
-
getConnectorType
ConnectorType getConnectorType()
-
getType
final WhatsAppBotMessageType getType()
-
-
-
-