Class: TD::Types::Game
Overview
Describes a game.
Instance Attribute Summary collapse
-
#animation ⇒ TD::Types::Animation?
Game animation; may be null.
-
#description ⇒ TD::Types::String
Game description.
-
#id ⇒ Integer
Game ID.
-
#photo ⇒ TD::Types::Photo
Game photo.
-
#short_name ⇒ TD::Types::String
Game short name.
-
#text ⇒ TD::Types::FormattedText
Game text, usually containing scoreboards for a game.
-
#title ⇒ TD::Types::String
Game title.
Method Summary
Methods inherited from Base
Instance Attribute Details
#animation ⇒ TD::Types::Animation?
Game animation; may be null.
12 13 14 |
# File 'lib/tdlib/types/game.rb', line 12 def animation @animation end |
#description ⇒ TD::Types::String
Game description.
12 13 14 |
# File 'lib/tdlib/types/game.rb', line 12 def description @description end |
#id ⇒ Integer
Game ID.
12 13 14 |
# File 'lib/tdlib/types/game.rb', line 12 def id @id end |
#photo ⇒ TD::Types::Photo
Game photo.
12 13 14 |
# File 'lib/tdlib/types/game.rb', line 12 def photo @photo end |
#short_name ⇒ TD::Types::String
Game short name. To share a game use the URL t.me/bot_username?game=game_short_name.
12 13 14 |
# File 'lib/tdlib/types/game.rb', line 12 def short_name @short_name end |
#text ⇒ TD::Types::FormattedText
Game text, usually containing scoreboards for a game.
12 13 14 |
# File 'lib/tdlib/types/game.rb', line 12 def text @text end |
#title ⇒ TD::Types::String
Game title.
12 13 14 |
# File 'lib/tdlib/types/game.rb', line 12 def title @title end |