List of all members | Public Fields | Public Instance Methods | Static Public Attributes
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 Fields

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.
 

Public Instance Methods

 updateMessageSendFailed ()
 
 updateMessageSendFailed (object_ptr< message > &&message_, int53 old_message_id_, object_ptr< error > &&error_)
 
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 = -635701017
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ updateMessageSendFailed() [1/2]

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.

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