Inherits td::td_api::InternalLinkType.
|
string | bot_username_ |
| Username of the bot that owns the game.
|
|
string | game_short_name_ |
| Short name of the game.
|
|
|
static const std::int32_t | ID = -260788787 |
| Identifier uniquely determining a type of the object.
|
|
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.
◆ internalLinkTypeGame() [1/2]
td::td_api::internalLinkTypeGame::internalLinkTypeGame |
( |
| ) |
|
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.
◆ internalLinkTypeGame() [2/2]
td::td_api::internalLinkTypeGame::internalLinkTypeGame |
( |
string const & |
bot_username_, |
|
|
string const & |
game_short_name_ |
|
) |
| |
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.
- Parameters
-
[in] | bot_username_ | Username of the bot that owns the game. |
[in] | game_short_name_ | Short name of the game. |
◆ get_id()
std::int32_t td::td_api::internalLinkTypeGame::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::internalLinkTypeGame::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: