Inherits MessageSendingState.
The message failed to be sent.
Public Fields | |
| object_ptr< error > | error_ |
| The cause of the message sending failure. | |
| bool | can_retry_ |
| True, if the message can be re-sent using resendMessages or readdQuickReplyShortcutMessages. | |
| bool | need_another_sender_ |
| True, if the message can be re-sent only on behalf of a different sender. | |
| bool | 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. | |
| bool | 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. | |
| int53 | 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. | |
| double | retry_after_ |
| Time left before the message can be re-sent, in seconds. No update is sent when this field changes. | |
Public Instance Methods | |
| 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_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = -777630522 |
| Identifier uniquely determining a type of the object. | |
The message failed to be sent.
| 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.
| [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. |
|
finalvirtual |