tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::messageSendingStateFailed Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::messageSendingStateFailed:
td::td_api::MessageSendingState td::td_api::Object td::TlObject

Public Member Functions

 messageSendingStateFailed ()
 
 messageSendingStateFailed (object_ptr< error > &&error_, bool can_retry_, bool need_another_sender_, bool need_another_reply_quote_, bool need_drop_reply_, int53 required_paid_message_star_count_, double retry_after_)
 
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< 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.
 
int53 required_paid_message_star_count_
 The number of Telegram Stars that must be paid to send the message; 0 if the current amount is correct.
 
double retry_after_
 Time left before the message can be re-sent, in seconds. No update is sent when this field changes.
 

Static Public Attributes

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

Detailed Description

The message failed to be sent.

Definition at line 45209 of file td_api.h.

Constructor & Destructor Documentation

◆ messageSendingStateFailed() [1/2]

td::td_api::messageSendingStateFailed::messageSendingStateFailed ( )

The message failed to be sent.

◆ messageSendingStateFailed() [2/2]

td::td_api::messageSendingStateFailed::messageSendingStateFailed ( object_ptr< error > &&  error_,
bool  can_retry_,
bool  need_another_sender_,
bool  need_another_reply_quote_,
bool  need_drop_reply_,
int53  required_paid_message_star_count_,
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]required_paid_message_star_count_The number of Telegram Stars that must be paid to send the message; 0 if the current amount is correct.
[in]retry_after_Time left before the message can be re-sent, in seconds. No update is sent when this field changes.

Member Function Documentation

◆ store()

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

Member Data Documentation

◆ can_retry_

bool td::td_api::messageSendingStateFailed::can_retry_

True, if the message can be re-sent using resendMessages or readdQuickReplyShortcutMessages.

Definition at line 45222 of file td_api.h.

◆ error_

object_ptr<error> td::td_api::messageSendingStateFailed::error_

The cause of the message sending failure.

Definition at line 45220 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageSendingStateFailed::ID = -777630522
static

Identifier uniquely determining a type of the object.

Definition at line 45253 of file td_api.h.

◆ need_another_reply_quote_

bool td::td_api::messageSendingStateFailed::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.

Definition at line 45226 of file td_api.h.

◆ need_another_sender_

bool td::td_api::messageSendingStateFailed::need_another_sender_

True, if the message can be re-sent only on behalf of a different sender.

Definition at line 45224 of file td_api.h.

◆ need_drop_reply_

bool td::td_api::messageSendingStateFailed::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.

Definition at line 45228 of file td_api.h.

◆ required_paid_message_star_count_

int53 td::td_api::messageSendingStateFailed::required_paid_message_star_count_

The number of Telegram Stars that must be paid to send the message; 0 if the current amount is correct.

Definition at line 45230 of file td_api.h.

◆ retry_after_

double td::td_api::messageSendingStateFailed::retry_after_

Time left before the message can be re-sent, in seconds. No update is sent when this field changes.

Definition at line 45232 of file td_api.h.


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