#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 803569495 |
| | Identifier uniquely determining a type of the object.
|
| |
Allows the specified user to send unpaid private messages to the current user by adding a rule to userPrivacySettingAllowUnpaidMessages.
Returns object_ptr<Ok>.
Definition at line 89444 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 89480 of file td_api.h.
◆ allowUnpaidMessagesFromUser() [1/2]
| td::td_api::allowUnpaidMessagesFromUser::allowUnpaidMessagesFromUser |
( |
| ) |
|
Default constructor for a function, which allows the specified user to send unpaid private messages to the current user by adding a rule to userPrivacySettingAllowUnpaidMessages.
Returns object_ptr<Ok>.
◆ allowUnpaidMessagesFromUser() [2/2]
| td::td_api::allowUnpaidMessagesFromUser::allowUnpaidMessagesFromUser |
( |
int53 |
user_id_, |
|
|
bool |
refund_payments_ |
|
) |
| |
Creates a function, which allows the specified user to send unpaid private messages to the current user by adding a rule to userPrivacySettingAllowUnpaidMessages.
Returns object_ptr<Ok>.
- Parameters
-
| [in] | user_id_ | Identifier of the user. |
| [in] | refund_payments_ | Pass true to refund the user previously paid messages. |
◆ store()
| void td::td_api::allowUnpaidMessagesFromUser::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.
◆ ID
| const std::int32_t td::td_api::allowUnpaidMessagesFromUser::ID = 803569495 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 89477 of file td_api.h.
◆ refund_payments_
| bool td::td_api::allowUnpaidMessagesFromUser::refund_payments_ |
Pass true to refund the user previously paid messages.
Definition at line 89457 of file td_api.h.
◆ user_id_
| int53 td::td_api::allowUnpaidMessagesFromUser::user_id_ |
Identifier of the user.
Definition at line 89455 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