-
- 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 GenericMessagetoGenericMessage()ConnectorMessageobfuscate()List<Element>findElements()Find Elements if any. Booleanequals(Object other)IntegerhashCode()StringtoString()Messagecopy(List<QuickReply> quickReplies)final AttachmentgetAttachment()final List<QuickReply>getQuickReplies()ConnectorTypegetConnectorType()-
-
Constructor Detail
-
AttachmentMessage
AttachmentMessage(Attachment attachment, List<QuickReply> quickReplies)
-
-
Method Detail
-
toGenericMessage
GenericMessage toGenericMessage()
-
obfuscate
ConnectorMessage obfuscate()
-
findElements
List<Element> findElements()
Find Elements if any.
-
copy
Message copy(List<QuickReply> quickReplies)
-
getAttachment
final Attachment getAttachment()
-
getQuickReplies
final List<QuickReply> getQuickReplies()
-
getConnectorType
ConnectorType getConnectorType()
-
-
-
-