Class AttachmentMessage
-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorMessage,ai.tock.bot.connector.ConnectorMessageProvider
public final class AttachmentMessage extends Message
-
-
Field Summary
Fields Modifier and Type Field Description private final Attachmentattachmentprivate final List<QuickReply>quickRepliesprivate final ConnectorTypeconnectorType
-
Constructor Summary
Constructors Constructor Description AttachmentMessage(Attachment attachment, List<QuickReply> quickReplies)
-
Method Summary
Modifier and Type Method Description final AttachmentgetAttachment()GenericMessagetoGenericMessage()ConnectorMessageobfuscate()List<Element>findElements()Find Elements if any. Booleanequals(Object other)IntegerhashCode()StringtoString()Messagecopy(List<QuickReply> quickReplies)-
Methods inherited from class ai.tock.bot.connector.messenger.model.send.Message
getQuickReplies -
Methods inherited from class ai.tock.bot.connector.messenger.model.MessengerConnectorMessage
getConnectorType -
Methods inherited from class ai.tock.bot.connector.ConnectorMessage
toConnectorMessage -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AttachmentMessage
AttachmentMessage(Attachment attachment, List<QuickReply> quickReplies)
-
-
Method Detail
-
getAttachment
final Attachment getAttachment()
-
toGenericMessage
GenericMessage toGenericMessage()
-
obfuscate
ConnectorMessage obfuscate()
-
findElements
List<Element> findElements()
Find Elements if any.
-
copy
Message copy(List<QuickReply> quickReplies)
-
-
-
-