Class: TD::Types::InternalLinkType::Game

Inherits:
TD::Types::InternalLinkType show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#bot_usernameTD::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_nameTD::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