final case class Game(title: String, description: String, photo: List[PhotoSize], text: Option[String], textEntities: Option[List[MessageEntity]], animation: Option[Animation]) extends Product with Serializable
Represents a Telegram game. Use BotFather to create and edit games, their short names will act as unique identifiers.
- title
Title of the game
- description
Description of the game
- photo
Photo that will be displayed in the game message in chats.
- text
Brief description of the game or high scores included in the game message. Can be automatically edited to include current high scores for the game when the bot calls setGameScore, or manually edited using editMessageText. 0-4096 characters.
- textEntities
Special entities that appear in text, such as usernames, URLs, bot commands, etc.
- animation
Animation that will be displayed in the game message in chats. Can be uploaded via BotFather
- Alphabetic
- By Inheritance
- Game
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Game(title: String, description: String, photo: List[PhotoSize], text: Option[String], textEntities: Option[List[MessageEntity]], animation: Option[Animation])
- title
Title of the game
- description
Description of the game
- photo
Photo that will be displayed in the game message in chats.
- text
Brief description of the game or high scores included in the game message. Can be automatically edited to include current high scores for the game when the bot calls setGameScore, or manually edited using editMessageText. 0-4096 characters.
- textEntities
Special entities that appear in text, such as usernames, URLs, bot commands, etc.
- animation
Animation that will be displayed in the game message in chats. Can be uploaded via BotFather
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val animation: Option[Animation]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val description: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val photo: List[PhotoSize]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val text: Option[String]
- val textEntities: Option[List[MessageEntity]]
- val title: String
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()