Package ai.tock.bot.engine.message
Class Attachment
-
- All Implemented Interfaces:
-
ai.tock.bot.engine.message.Message
public final class Attachment implements Message
A simple attachment file.
-
-
Constructor Summary
Constructors Constructor Description Attachment(String url, SendAttachment.AttachmentType type, Long delay)
-
Method Summary
Modifier and Type Method Description EventTypegetEventType()final StringgetUrl()final SendAttachment.AttachmentTypegetType()LonggetDelay()ActiontoAction(PlayerId playerId, String applicationId, PlayerId recipientId)StringtoPrettyString()Returns a human readable string representation of the message. BooleanisSimpleMessage()-
-
Constructor Detail
-
Attachment
Attachment(String url, SendAttachment.AttachmentType type, Long delay)
-
-
Method Detail
-
getEventType
EventType getEventType()
-
getType
final SendAttachment.AttachmentType getType()
-
toPrettyString
String toPrettyString()
Returns a human readable string representation of the message.
-
isSimpleMessage
Boolean isSimpleMessage()
-
-
-
-