public class AttachmentConfiguration implements MessageConfiguration
A simple attachment file.
public AttachmentConfiguration(@NotNull
java.lang.String url,
@NotNull
ai.tock.bot.engine.action.SendAttachment.AttachmentType type,
long delay)
A simple attachment file.
@NotNull public EventType getEventType()
@NotNull public Action toAction(@NotNull PlayerId playerId, @NotNull java.lang.String applicationId, @NotNull PlayerId recipientId, @NotNull java.util.Locale locale, @NotNull ai.tock.translator.UserInterfaceType userInterfaceType)
@NotNull public java.lang.String getUrl()
@NotNull public ai.tock.bot.engine.action.SendAttachment.AttachmentType getType()
public long getDelay()
@NotNull public java.lang.String component1()
@NotNull public ai.tock.bot.engine.action.SendAttachment.AttachmentType component2()
public long component3()
@NotNull public AttachmentConfiguration copy(@NotNull java.lang.String url, @NotNull ai.tock.bot.engine.action.SendAttachment.AttachmentType type, long delay)
A simple attachment file.
@NotNull public java.lang.String toString()
A simple attachment file.
public int hashCode()
A simple attachment file.
public boolean equals(@Nullable
java.lang.Object p)
A simple attachment file.