Inherits InternalLinkType.
The link is a link to a chat with a Telegram bot. Call searchPublicChat with the given bot username, check that the user is a bot, show START button in the chat with the bot, and then call sendBotStartMessage with the given start parameter after the button is pressed.
Public Fields | |
| string | bot_username_ |
| Username of the bot. | |
| string | start_parameter_ |
| The parameter to be passed to sendBotStartMessage. | |
| bool | autostart_ |
| True, if sendBotStartMessage must be called automatically without showing the START button. | |
Public Instance Methods | |
| internalLinkTypeBotStart () | |
| internalLinkTypeBotStart (string const &bot_username_, string const &start_parameter_, bool autostart_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 1066950637 |
| Identifier uniquely determining a type of the object. | |
The link is a link to a chat with a Telegram bot. Call searchPublicChat with the given bot username, check that the user is a bot, show START button in the chat with the bot, and then call sendBotStartMessage with the given start parameter after the button is pressed.
| internalLinkTypeBotStart | ( | string const & | bot_username_, |
| string const & | start_parameter_, | ||
| bool | autostart_ | ||
| ) |
The link is a link to a chat with a Telegram bot. Call searchPublicChat with the given bot username, check that the user is a bot, show START button in the chat with the bot, and then call sendBotStartMessage with the given start parameter after the button is pressed.
| [in] | bot_username_ | Username of the bot. |
| [in] | start_parameter_ | The parameter to be passed to sendBotStartMessage. |
| [in] | autostart_ | True, if sendBotStartMessage must be called automatically without showing the START button. |
|
finalvirtual |