Inherits MessageSendingState.
The message failed to be sent.
Public Fields | |
int32 | error_code_ |
An error code; 0 if unknown. | |
string | error_message_ |
Error message. | |
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. | |
Public Instance Methods | |
messageSendingStateFailed () | |
messageSendingStateFailed (int32 error_code_, string const &error_message_, 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 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 = -1741887228 |
Identifier uniquely determining a type of the object. | |
The message failed to be sent.
messageSendingStateFailed | ( | int32 | error_code_, |
string const & | error_message_, | ||
bool | can_retry_, | ||
bool | need_another_sender_, | ||
double | retry_after_ | ||
) |
The message failed to be sent.
[in] | error_code_ | An error code; 0 if unknown. |
[in] | error_message_ | Error message. |
[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 |
|
finalvirtual |