#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = -1214384757 |
| | Identifier uniquely determining a type of the object.
|
| |
Blocks an original sender of a message in the Replies chat.
Returns object_ptr<Ok>.
Definition at line 90124 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 90166 of file td_api.h.
◆ blockMessageSenderFromReplies() [1/2]
| td::td_api::blockMessageSenderFromReplies::blockMessageSenderFromReplies |
( |
| ) |
|
Default constructor for a function, which blocks an original sender of a message in the Replies chat.
Returns object_ptr<Ok>.
◆ blockMessageSenderFromReplies() [2/2]
| td::td_api::blockMessageSenderFromReplies::blockMessageSenderFromReplies |
( |
int53 |
message_id_, |
|
|
bool |
delete_message_, |
|
|
bool |
delete_all_messages_, |
|
|
bool |
report_spam_ |
|
) |
| |
Creates a function, which blocks an original sender of a message in the Replies chat.
Returns object_ptr<Ok>.
- Parameters
-
| [in] | message_id_ | The identifier of an incoming message in the Replies chat. |
| [in] | delete_message_ | Pass true to delete the message. |
| [in] | delete_all_messages_ | Pass true to delete all messages from the same sender. |
| [in] | report_spam_ | Pass true to report the sender to the Telegram moderators. |
◆ store()
| void td::td_api::blockMessageSenderFromReplies::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.
◆ delete_all_messages_
| bool td::td_api::blockMessageSenderFromReplies::delete_all_messages_ |
Pass true to delete all messages from the same sender.
Definition at line 90139 of file td_api.h.
◆ delete_message_
| bool td::td_api::blockMessageSenderFromReplies::delete_message_ |
Pass true to delete the message.
Definition at line 90137 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::blockMessageSenderFromReplies::ID = -1214384757 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 90163 of file td_api.h.
◆ message_id_
| int53 td::td_api::blockMessageSenderFromReplies::message_id_ |
The identifier of an incoming message in the Replies chat.
Definition at line 90135 of file td_api.h.
◆ report_spam_
| bool td::td_api::blockMessageSenderFromReplies::report_spam_ |
Pass true to report the sender to the Telegram moderators.
Definition at line 90141 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