-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorMessage,ai.tock.bot.connector.ConnectorMessageProvider
public final class BusinessChatConnectorImageMessage extends BusinessChatConnectorMessage
An Image Message used on the bot side to be sent on the BotBus
-
-
Field Summary
Fields Modifier and Type Field Description private final StringsourceIdprivate final StringdestinationIdprivate final ByteArraybytesprivate final StringmimeTypeprivate final ConnectorTypeconnectorType
-
Constructor Summary
Constructors Constructor Description BusinessChatConnectorImageMessage(String sourceId, String destinationId, ByteArray bytes, String mimeType)
-
Method Summary
Modifier and Type Method Description Booleanequals(Object other)IntegerhashCode()final Stringcomponent1()final Stringcomponent2()final ByteArraycomponent3()final Stringcomponent4()final BusinessChatConnectorImageMessagecopy(String sourceId, String destinationId, ByteArray bytes, String mimeType)StringgetSourceId()StringgetDestinationId()final ByteArraygetBytes()final StringgetMimeType()ConnectorTypegetConnectorType()-
Methods inherited from class ai.tock.bot.connector.businesschat.model.input.BusinessChatConnectorMessage
obfuscate, toConnectorMessage, toGenericMessage -
Methods inherited from class ai.tock.bot.connector.ConnectorMessageProvider
toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final ByteArray component3()
-
component4
final String component4()
-
copy
final BusinessChatConnectorImageMessage copy(String sourceId, String destinationId, ByteArray bytes, String mimeType)
-
getSourceId
String getSourceId()
-
getDestinationId
String getDestinationId()
-
getMimeType
final String getMimeType()
-
getConnectorType
ConnectorType getConnectorType()
-
-
-
-