#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = -777630522 |
| | Identifier uniquely determining a type of the object.
|
| |
The message failed to be sent.
Definition at line 45209 of file td_api.h.
◆ messageSendingStateFailed() [1/2]
| td::td_api::messageSendingStateFailed::messageSendingStateFailed |
( |
| ) |
|
The message failed to be sent.
◆ messageSendingStateFailed() [2/2]
| td::td_api::messageSendingStateFailed::messageSendingStateFailed |
( |
object_ptr< error > && |
error_, |
|
|
bool |
can_retry_, |
|
|
bool |
need_another_sender_, |
|
|
bool |
need_another_reply_quote_, |
|
|
bool |
need_drop_reply_, |
|
|
int53 |
required_paid_message_star_count_, |
|
|
double |
retry_after_ |
|
) |
| |
The message failed to be sent.
- Parameters
-
| [in] | error_ | The cause of the message sending failure. |
| [in] | can_retry_ | True, if the message can be re-sent using resendMessages or readdQuickReplyShortcutMessages. |
| [in] | need_another_sender_ | True, if the message can be re-sent only on behalf of a different sender. |
| [in] | need_another_reply_quote_ | True, if the message can be re-sent only if another quote is chosen in the message that is replied by the given message. |
| [in] | need_drop_reply_ | True, if the message can be re-sent only if the message to be replied is removed. This will be done automatically by resendMessages. |
| [in] | required_paid_message_star_count_ | The number of Telegram Stars that must be paid to send the message; 0 if the current amount is correct. |
| [in] | retry_after_ | Time left before the message can be re-sent, in seconds. No update is sent when this field changes. |
◆ store()
| void td::td_api::messageSendingStateFailed::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.
◆ can_retry_
| bool td::td_api::messageSendingStateFailed::can_retry_ |
◆ error_
The cause of the message sending failure.
Definition at line 45220 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::messageSendingStateFailed::ID = -777630522 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 45253 of file td_api.h.
◆ need_another_reply_quote_
| bool td::td_api::messageSendingStateFailed::need_another_reply_quote_ |
True, if the message can be re-sent only if another quote is chosen in the message that is replied by the given message.
Definition at line 45226 of file td_api.h.
◆ need_another_sender_
| bool td::td_api::messageSendingStateFailed::need_another_sender_ |
True, if the message can be re-sent only on behalf of a different sender.
Definition at line 45224 of file td_api.h.
◆ need_drop_reply_
| bool td::td_api::messageSendingStateFailed::need_drop_reply_ |
True, if the message can be re-sent only if the message to be replied is removed. This will be done automatically by resendMessages.
Definition at line 45228 of file td_api.h.
◆ required_paid_message_star_count_
| int53 td::td_api::messageSendingStateFailed::required_paid_message_star_count_ |
The number of Telegram Stars that must be paid to send the message; 0 if the current amount is correct.
Definition at line 45230 of file td_api.h.
◆ retry_after_
| double td::td_api::messageSendingStateFailed::retry_after_ |
Time left before the message can be re-sent, in seconds. No update is sent when this field changes.
Definition at line 45232 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