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

object_ptr< errorerror_
 The cause of the message sending failure.
 
bool can_retry_
 True, if the message can be re-sent using resendMessages or readdQuickReplyShortcutMessages.
 
bool need_another_sender_
 True, if the message can be re-sent only on behalf of a different sender.
 
bool need_another_reply_quote_
 True, if the message can be re-sent only if another quote is chosen in the message that is replied by the given message.
 
bool need_drop_reply_
 True, if the message can be re-sent only if the message to be replied is removed. This will be done automatically by resendMessages.
 
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 (object_ptr< error > &&error_, bool can_retry_, bool need_another_sender_, bool need_another_reply_quote_, bool need_drop_reply_, double retry_after_)
 
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 = -1400770978
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ messageSendingStateFailed() [1/2]

The message failed to be sent.

◆ messageSendingStateFailed() [2/2]

messageSendingStateFailed ( object_ptr< error > &&  error_,
bool  can_retry_,
bool  need_another_sender_,
bool  need_another_reply_quote_,
bool  need_drop_reply_,
double  retry_after_ 
)

The message failed to be sent.

Parameters
[in]error_The cause of the message sending failure.
[in]can_retry_True, if the message can be re-sent using resendMessages or readdQuickReplyShortcutMessages.
[in]need_another_sender_True, if the message can be re-sent only on behalf of a different sender.
[in]need_another_reply_quote_True, if the message can be re-sent only if another quote is chosen in the message that is replied by the given message.
[in]need_drop_reply_True, if the message can be re-sent only if the message to be replied is removed. This will be done automatically by resendMessages.
[in]retry_after_Time left before the message can be re-sent, in seconds. No update is sent when this field changes.

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: