-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorMessage,ai.tock.bot.connector.ConnectorMessageProvider
public final class WhatsAppBotImageMessage extends WhatsAppBotMessage
-
-
Field Summary
Fields Modifier and Type Field Description private final WhatsAppBotAttachmentimageprivate final WhatsAppBotRecipientTyperecipientTypeprivate final ConnectorTypeconnectorTypeprivate final Stringtoprivate final WhatsAppBotMessageTypetype
-
Constructor Summary
Constructors Constructor Description WhatsAppBotImageMessage(WhatsAppBotAttachment image, WhatsAppBotRecipientType recipientType, String userId)
-
Method Summary
Modifier and Type Method Description final WhatsAppBotAttachmentcomponent1()final WhatsAppBotRecipientTypecomponent2()final WhatsAppBotImageMessagecopy(WhatsAppBotAttachment image, WhatsAppBotRecipientType recipientType, String userId)final WhatsAppBotAttachmentgetImage()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
-
WhatsAppBotImageMessage
WhatsAppBotImageMessage(WhatsAppBotAttachment image, WhatsAppBotRecipientType recipientType, String userId)
-
-
Method Detail
-
component1
final WhatsAppBotAttachment component1()
-
component2
final WhatsAppBotRecipientType component2()
-
copy
final WhatsAppBotImageMessage copy(WhatsAppBotAttachment image, WhatsAppBotRecipientType recipientType, String userId)
-
getImage
final WhatsAppBotAttachment getImage()
-
getRecipientType
WhatsAppBotRecipientType getRecipientType()
-
getConnectorType
ConnectorType getConnectorType()
-
getType
final WhatsAppBotMessageType getType()
-
-
-
-