public Attachment(@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 public java.lang.String toPrettyString()
Returns a human readable string representation of the message.
public boolean isSimpleMessage()
@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 Attachment 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.