TDLib
Loading...
Searching...
No Matches
td::td_api::updateMessageSendFailed Class Referencefinal

Inherits td::td_api::Update.

Public Member Functions

 updateMessageSendFailed ()
 
 updateMessageSendFailed (object_ptr< message > &&message_, int53 old_message_id_, object_ptr< error > &&error_)
 
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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< messagemessage_
 The failed to send message.
 
int53 old_message_id_
 The previous temporary message identifier.
 
object_ptr< errorerror_
 The cause of the message sending failure.
 

Static Public Attributes

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

Detailed Description

A message failed to send. Be aware that some messages being sent can be irrecoverably deleted, in which case updateDeleteMessages will be received instead of this update.

Constructor & Destructor Documentation

◆ updateMessageSendFailed() [1/2]

td::td_api::updateMessageSendFailed::updateMessageSendFailed ( )

A message failed to send. Be aware that some messages being sent can be irrecoverably deleted, in which case updateDeleteMessages will be received instead of this update.

◆ updateMessageSendFailed() [2/2]

td::td_api::updateMessageSendFailed::updateMessageSendFailed ( object_ptr< message > &&  message_,
int53  old_message_id_,
object_ptr< error > &&  error_ 
)

A message failed to send. Be aware that some messages being sent can be irrecoverably deleted, in which case updateDeleteMessages will be received instead of this update.

Parameters
[in]message_The failed to send message.
[in]old_message_id_The previous temporary message identifier.
[in]error_The cause of the message sending failure.

Member Function Documentation

◆ get_id()

std::int32_t td::td_api::updateMessageSendFailed::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

void td::td_api::updateMessageSendFailed::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 td::TlObject.


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