Package-level declarations

Types

Link copied to clipboard
@Serializable
data object CallbackGame
Link copied to clipboard
@Serializable
data class Dice(val emoji: String, val value: Int)

This object represents an animated emoji that displays a random value.

Link copied to clipboard
@Serializable
data class Game(val title: String, val description: String, val photo: List<PhotoSize>, val text: String? = null, val textEntities: List<MessageEntity>? = null, val animation: Animation? = null)

This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.

Link copied to clipboard
@Serializable
data class GameHighScore(val position: Int, val user: User, val score: Long) : MultipleResponse

This object represents one row of the high scores table for a game.