public class AttachmentConfiguration implements MessageConfiguration
A simple attachment file.
MessageConfiguration.DefaultImpls| Constructor and Description |
|---|
AttachmentConfiguration(java.lang.String url,
SendAttachment.AttachmentType type,
long delay)
A simple attachment file.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1() |
SendAttachment.AttachmentType |
component2() |
long |
component3() |
AttachmentConfiguration |
copy(java.lang.String url,
SendAttachment.AttachmentType type,
long delay)
A simple attachment file.
|
boolean |
equals(java.lang.Object p) |
long |
getDelay() |
EventType |
getEventType() |
SendAttachment.AttachmentType |
getType() |
java.lang.String |
getUrl() |
int |
hashCode() |
Action |
toAction(PlayerId playerId,
java.lang.String applicationId,
PlayerId recipientId,
java.util.Locale locale,
ai.tock.translator.UserInterfaceType userInterfaceType) |
java.lang.String |
toString() |
getDelay, getEventType, toAction, toActionpublic AttachmentConfiguration(@NotNull
java.lang.String url,
@NotNull
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 SendAttachment.AttachmentType getType()
public long getDelay()
@NotNull public java.lang.String component1()
@NotNull public SendAttachment.AttachmentType component2()
public long component3()
@NotNull public AttachmentConfiguration copy(@NotNull java.lang.String url, @NotNull SendAttachment.AttachmentType type, long delay)
A simple attachment file.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)