public class Carousel implements BotMessage
A list fo class Cards.
class Card| Constructor and Description |
|---|
Carousel(java.util.List<ai.tock.bot.api.model.message.bot.Card> cards,
long delay)
A list fo
class Cards. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ai.tock.bot.api.model.message.bot.Card> |
component1() |
long |
component2()
The delay to wait before sending this message.
|
Carousel |
copy(java.util.List<ai.tock.bot.api.model.message.bot.Card> cards,
long delay)
A list fo
class Cards. |
boolean |
equals(java.lang.Object p) |
java.util.List<ai.tock.bot.api.model.message.bot.Card> |
getCards() |
long |
getDelay()
The delay to wait before sending this message.
|
int |
hashCode() |
java.lang.String |
toString() |
getDelaypublic Carousel(@NotNull
java.util.List<ai.tock.bot.api.model.message.bot.Card> cards,
long delay)
A list fo class Cards.
delay - The delay to wait before sending this message.class Card@NotNull public java.util.List<ai.tock.bot.api.model.message.bot.Card> getCards()
public long getDelay()
The delay to wait before sending this message.
@NotNull public java.util.List<ai.tock.bot.api.model.message.bot.Card> component1()
public long component2()
The delay to wait before sending this message.
@NotNull public Carousel copy(@NotNull java.util.List<ai.tock.bot.api.model.message.bot.Card> cards, long delay)
A list fo class Cards.
class Card@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)