#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 1627284161 |
| | Identifier uniquely determining a type of the object.
|
| |
Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.
Returns object_ptr<HttpUrl>.
Definition at line 115703 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 115751 of file td_api.h.
◆ getWebAppLinkUrl() [1/2]
| td::td_api::getWebAppLinkUrl::getWebAppLinkUrl |
( |
| ) |
|
Default constructor for a function, which returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.
Returns object_ptr<HttpUrl>.
◆ getWebAppLinkUrl() [2/2]
Creates a function, which returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.
Returns object_ptr<HttpUrl>.
- Parameters
-
| [in] | chat_id_ | Identifier of the chat in which the link was clicked; pass 0 if none. |
| [in] | bot_user_id_ | Identifier of the target bot. |
| [in] | web_app_short_name_ | Short name of the Web App. |
| [in] | start_parameter_ | Start parameter from internalLinkTypeWebApp. |
| [in] | allow_write_access_ | Pass true if the current user allowed the bot to send them messages. |
| [in] | parameters_ | Parameters to use to open the Web App. |
◆ store()
| void td::td_api::getWebAppLinkUrl::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.
◆ allow_write_access_
| bool td::td_api::getWebAppLinkUrl::allow_write_access_ |
Pass true if the current user allowed the bot to send them messages.
Definition at line 115722 of file td_api.h.
◆ bot_user_id_
| int53 td::td_api::getWebAppLinkUrl::bot_user_id_ |
Identifier of the target bot.
Definition at line 115716 of file td_api.h.
◆ chat_id_
| int53 td::td_api::getWebAppLinkUrl::chat_id_ |
Identifier of the chat in which the link was clicked; pass 0 if none.
Definition at line 115714 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::getWebAppLinkUrl::ID = 1627284161 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 115748 of file td_api.h.
◆ parameters_
Parameters to use to open the Web App.
Definition at line 115724 of file td_api.h.
◆ start_parameter_
| string td::td_api::getWebAppLinkUrl::start_parameter_ |
◆ web_app_short_name_
| string td::td_api::getWebAppLinkUrl::web_app_short_name_ |
Short name of the Web App.
Definition at line 115718 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h