|
TDLib
|
Inherits InternalLinkType.
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.
Public Member Functions | |
| internalLinkTypeGame () | |
| internalLinkTypeGame (string const &bot_username_, string const &game_short_name_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| string | bot_username_ |
| Username of the bot that owns the game. | |
| string | game_short_name_ |
| Short name of the game. | |
Static Public Attributes | |
| static const std::int32_t | ID = -260788787 |
| Identifier uniquely determining a type of the object. | |
| 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.
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.
| [in] | bot_username_ | Username of the bot that owns the game. |
| [in] | game_short_name_ | Short name of the game. |
|
finalvirtual |