#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = -1423978996 |
| | Identifier uniquely determining a type of the object.
|
| |
Sends data received from a keyboardButtonTypeWebApp Web App to a bot.
Returns object_ptr<Ok>.
Definition at line 126973 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 127012 of file td_api.h.
◆ sendWebAppData() [1/2]
| td::td_api::sendWebAppData::sendWebAppData |
( |
| ) |
|
Default constructor for a function, which sends data received from a keyboardButtonTypeWebApp Web App to a bot.
Returns object_ptr<Ok>.
◆ sendWebAppData() [2/2]
| td::td_api::sendWebAppData::sendWebAppData |
( |
int53 |
bot_user_id_, |
|
|
string const & |
button_text_, |
|
|
string const & |
data_ |
|
) |
| |
Creates a function, which sends data received from a keyboardButtonTypeWebApp Web App to a bot.
Returns object_ptr<Ok>.
- Parameters
-
| [in] | bot_user_id_ | Identifier of the target bot. |
| [in] | button_text_ | Text of the keyboardButtonTypeWebApp button, which opened the Web App. |
| [in] | data_ | The data. |
◆ store()
| void td::td_api::sendWebAppData::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.
◆ bot_user_id_
| int53 td::td_api::sendWebAppData::bot_user_id_ |
Identifier of the target bot.
Definition at line 126984 of file td_api.h.
◆ button_text_
| string td::td_api::sendWebAppData::button_text_ |
◆ data_
| string td::td_api::sendWebAppData::data_ |
◆ ID
| const std::int32_t td::td_api::sendWebAppData::ID = -1423978996 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 127009 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