-
- All Implemented Interfaces:
-
ai.tock.bot.admin.message.MessageConfiguration
public final class AttachmentConfiguration implements MessageConfiguration
A simple attachment file.
-
-
Constructor Summary
Constructors Constructor Description AttachmentConfiguration(String url, SendAttachment.AttachmentType type, Long delay)
-
Method Summary
Modifier and Type Method Description ActiontoAction(PlayerId playerId, String applicationId, PlayerId recipientId, Locale locale, UserInterfaceType userInterfaceType)final Stringcomponent1()final SendAttachment.AttachmentTypecomponent2()final Longcomponent3()final AttachmentConfigurationcopy(String url, SendAttachment.AttachmentType type, Long delay)EventTypegetEventType()final StringgetUrl()final SendAttachment.AttachmentTypegetType()LonggetDelay()-
Methods inherited from class ai.tock.bot.admin.message.AttachmentConfiguration
toAction -
Methods inherited from class ai.tock.bot.admin.message.MessageConfiguration
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AttachmentConfiguration
AttachmentConfiguration(String url, SendAttachment.AttachmentType type, Long delay)
-
-
Method Detail
-
toAction
Action toAction(PlayerId playerId, String applicationId, PlayerId recipientId, Locale locale, UserInterfaceType userInterfaceType)
-
component1
final String component1()
-
component2
final SendAttachment.AttachmentType component2()
-
component3
final Long component3()
-
copy
final AttachmentConfiguration copy(String url, SendAttachment.AttachmentType type, Long delay)
-
getEventType
EventType getEventType()
-
getType
final SendAttachment.AttachmentType getType()
-
-
-
-