TDLib
|
Inherits td::td_api::MessageSendingState.
Public Member Functions | |
messageSendingStateFailed () | |
messageSendingStateFailed (object_ptr< error > &&error_, bool can_retry_, bool need_another_sender_, double retry_after_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::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 |
Public Attributes | |
object_ptr< error > | error_ |
The cause of the message sending failure. | |
bool | can_retry_ |
True, if the message can be re-sent. | |
bool | need_another_sender_ |
True, if the message can be re-sent only on behalf of a different sender. | |
double | retry_after_ |
Time left before the message can be re-sent, in seconds. No update is sent when this field changes. | |
Static Public Attributes | |
static const std::int32_t | ID = -76172625 |
Identifier uniquely determining a type of the object. | |
The message failed to be sent.
td::td_api::messageSendingStateFailed::messageSendingStateFailed | ( | ) |
The message failed to be sent.
td::td_api::messageSendingStateFailed::messageSendingStateFailed | ( | object_ptr< error > && | error_, |
bool | can_retry_, | ||
bool | need_another_sender_, | ||
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. |
[in] | need_another_sender_ | True, if the message can be re-sent only on behalf of a different sender. |
[in] | retry_after_ | Time left before the message can be re-sent, in seconds. No update is sent when this field changes. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.