-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorMessage,ai.tock.bot.connector.ConnectorMessageProvider
public final class BusinessChatConnectorTextMessage extends BusinessChatConnectorMessage
A Text 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 Stringbodyprivate final ConnectorTypeconnectorType
-
Constructor Summary
Constructors Constructor Description BusinessChatConnectorTextMessage(String sourceId, String destinationId, String body)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final Stringcomponent3()final BusinessChatConnectorTextMessagecopy(String sourceId, String destinationId, String body)StringgetSourceId()StringgetDestinationId()final StringgetBody()ConnectorTypegetConnectorType()-
Methods inherited from class ai.tock.bot.connector.ConnectorMessageProvider
equals, hashCode, toString -
Methods inherited from class ai.tock.bot.connector.businesschat.model.input.BusinessChatConnectorMessage
obfuscate, toConnectorMessage, toGenericMessage -
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 String component3()
-
copy
final BusinessChatConnectorTextMessage copy(String sourceId, String destinationId, String body)
-
getSourceId
String getSourceId()
-
getDestinationId
String getDestinationId()
-
getConnectorType
ConnectorType getConnectorType()
-
-
-
-