#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 1154320179 |
| | Identifier uniquely determining a type of the object.
|
| |
Shares users after pressing a keyboardButtonTypeRequestUsers button with the bot.
Returns object_ptr<Ok>.
Definition at line 134610 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 134652 of file td_api.h.
◆ shareUsersWithBot() [1/2]
| td::td_api::shareUsersWithBot::shareUsersWithBot |
( |
| ) |
|
◆ shareUsersWithBot() [2/2]
Creates a function, which shares users after pressing a keyboardButtonTypeRequestUsers button with the bot.
Returns object_ptr<Ok>.
- Parameters
-
| [in] | source_ | Source of the button. |
| [in] | button_id_ | Identifier of the button. |
| [in] | shared_user_ids_ | Identifiers of the shared users. |
| [in] | only_check_ | Pass true to check that the users can be shared by the button instead of actually sharing them. |
◆ store()
| void td::td_api::shareUsersWithBot::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.
◆ button_id_
| int32 td::td_api::shareUsersWithBot::button_id_ |
◆ ID
| const std::int32_t td::td_api::shareUsersWithBot::ID = 1154320179 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 134649 of file td_api.h.
◆ only_check_
| bool td::td_api::shareUsersWithBot::only_check_ |
Pass true to check that the users can be shared by the button instead of actually sharing them.
Definition at line 134627 of file td_api.h.
◆ shared_user_ids_
| array<int53> td::td_api::shareUsersWithBot::shared_user_ids_ |
Identifiers of the shared users.
Definition at line 134625 of file td_api.h.
◆ source_
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