Skip to content

MessageSendingStateFailed

Type · TDLib 1.8.67 · d1085f9c

The message failed to be sent

MessageSendingStateFailed(
  error: Error,
  can_retry: Bool,
  need_another_sender: Bool,
  need_another_reply_quote: Bool,
  need_drop_reply: Bool,
  required_paid_message_star_count: int53,
  retry_after: double
) → MessageSendingState

error

Error

The cause of the message sending failure

can_retry

Bool

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

need_another_sender

Bool

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

need_another_reply_quote

Bool

True, if the message can be re-sent only if another quote is chosen in the message that is replied by the given message

need_drop_reply

Bool

True, if the message can be re-sent only if the message to be replied is removed. This will be done automatically by resendMessages

required_paid_message_star_count

int53

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

retry_after

double

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