TDLib
Loading...
Searching...
No Matches
updateMessageSendFailed Class Referencefinal

Inherits Update.

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.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 updateMessageSendFailed ()
 updateMessageSendFailed (object_ptr< message > &&message_, int53 old_message_id_, object_ptr< error > &&error_)
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

object_ptr< error > error_
 The cause of the message sending failure.
object_ptr< message > message_
 The failed to send message.
int53 old_message_id_
 The previous temporary message identifier.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ updateMessageSendFailed() [1/2]

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]

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

◆ 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: