public class Card implements BotMessage
| Constructor and Description |
|---|
Card(I18nText title,
I18nText subTitle,
Attachment attachment,
java.util.List<ai.tock.bot.api.model.message.bot.Action> actions,
long delay) |
Card() |
| Modifier and Type | Method and Description |
|---|---|
I18nText |
component1() |
I18nText |
component2() |
Attachment |
component3() |
java.util.List<ai.tock.bot.api.model.message.bot.Action> |
component4() |
long |
component5()
The delay to wait before sending this message.
|
Card |
copy(I18nText title,
I18nText subTitle,
Attachment attachment,
java.util.List<ai.tock.bot.api.model.message.bot.Action> actions,
long delay) |
boolean |
equals(java.lang.Object p) |
java.util.List<ai.tock.bot.api.model.message.bot.Action> |
getActions() |
Attachment |
getAttachment() |
long |
getDelay()
The delay to wait before sending this message.
|
I18nText |
getSubTitle() |
I18nText |
getTitle() |
int |
hashCode() |
java.lang.String |
toString() |
getDelaypublic Card(@Nullable
I18nText title,
@Nullable
I18nText subTitle,
@Nullable
Attachment attachment,
@NotNull
java.util.List<ai.tock.bot.api.model.message.bot.Action> actions,
long delay)
delay - The delay to wait before sending this message.public Card()
@Nullable public I18nText getTitle()
@Nullable public I18nText getSubTitle()
@Nullable public Attachment getAttachment()
@NotNull public java.util.List<ai.tock.bot.api.model.message.bot.Action> getActions()
public long getDelay()
The delay to wait before sending this message.
@Nullable public I18nText component1()
@Nullable public I18nText component2()
@Nullable public Attachment component3()
@NotNull public java.util.List<ai.tock.bot.api.model.message.bot.Action> component4()
public long component5()
The delay to wait before sending this message.
@NotNull public Card copy(@Nullable I18nText title, @Nullable I18nText subTitle, @Nullable Attachment attachment, @NotNull java.util.List<ai.tock.bot.api.model.message.bot.Action> actions, long delay)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)