Class: TD::Types::InternalLinkType::Game
- Inherits:
-
TD::Types::InternalLinkType
- Object
- Dry::Struct
- Base
- TD::Types::InternalLinkType
- TD::Types::InternalLinkType::Game
- Defined in:
- lib/tdlib/types/internal_link_type/game.rb
Overview
The link is a link to a game. Call searchPublicChat with the given bot username, check that the user is a bot, ask the current user to select a
chat to send the game, and then call sendMessage with inputMessageGame.
Instance Attribute Summary collapse
-
#bot_username ⇒ TD::Types::String
Username of the bot that owns the game.
-
#game_short_name ⇒ TD::Types::String
Short name of the game.
Method Summary
Methods inherited from Base
Instance Attribute Details
#bot_username ⇒ TD::Types::String
Username of the bot that owns the game.
8 9 10 |
# File 'lib/tdlib/types/internal_link_type/game.rb', line 8 def bot_username @bot_username end |
#game_short_name ⇒ TD::Types::String
Short name of the game.
8 9 10 |
# File 'lib/tdlib/types/internal_link_type/game.rb', line 8 def game_short_name @game_short_name end |