List of all members | Public Fields | Public Instance Methods | Static Public Attributes
messageSendingStateFailed Class Referencefinal

Inherits MessageSendingState.

Description

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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = -1741887228
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ messageSendingStateFailed() [1/2]

The message failed to be sent.

◆ messageSendingStateFailed() [2/2]

messageSendingStateFailed ( int32  error_code_,
string const &  error_message_,
bool  can_retry_,
bool  need_another_sender_,
double  retry_after_ 
)

The message failed to be sent.

Parameters
[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.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ store()

void 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: