Inherits Function.
Returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, or an inlineQueryResultsButtonTypeWebApp button.
Returns object_ptr<HttpUrl>.
|
static const std::int32_t | ID = 1690578110 |
| Identifier uniquely determining a type of the object.
|
|
◆ getWebAppUrl() [1/2]
◆ getWebAppUrl() [2/2]
Creates a function, which returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, or an inlineQueryResultsButtonTypeWebApp button.
Returns object_ptr<HttpUrl>.
- Parameters
-
[in] | bot_user_id_ | Identifier of the target bot. |
[in] | url_ | The URL from a keyboardButtonTypeWebApp button, inlineQueryResultsButtonTypeWebApp button, or an empty string when the bot is opened from the side menu. |
[in] | theme_ | Preferred Web App theme; pass null to use the default theme. |
[in] | application_name_ | Short name of the current application; 0-64 English letters, digits, and underscores. |
◆ store()
void 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 TlObject.
The documentation for this class was generated from the following file: