Class: TD::Types::MessageSendingState::Failed
- Inherits:
-
TD::Types::MessageSendingState
- Object
- Dry::Struct
- Base
- TD::Types::MessageSendingState
- TD::Types::MessageSendingState::Failed
- Defined in:
- lib/tdlib/types/message_sending_state/failed.rb
Overview
The message failed to be sent.
Instance Attribute Summary collapse
-
#can_retry ⇒ Boolean
True, if the message can be re-sent using resendMessages or readdQuickReplyShortcutMessages.
-
#error ⇒ TD::Types::Error
The cause of the message sending failure.
-
#need_another_reply_quote ⇒ Boolean
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_another_sender ⇒ Boolean
True, if the message can be re-sent only on behalf of a different sender.
-
#need_drop_reply ⇒ Boolean
True, if the message can be re-sent only if the message to be replied is removed.
-
#retry_after ⇒ Float
Time left before the message can be re-sent, in seconds.
Method Summary
Methods inherited from Base
Instance Attribute Details
#can_retry ⇒ Boolean
True, if the message can be re-sent using resendMessages or readdQuickReplyShortcutMessages.
14 15 16 |
# File 'lib/tdlib/types/message_sending_state/failed.rb', line 14 def can_retry @can_retry end |
#error ⇒ TD::Types::Error
The cause of the message sending failure.
14 15 16 |
# File 'lib/tdlib/types/message_sending_state/failed.rb', line 14 def error @error end |
#need_another_reply_quote ⇒ Boolean
True, if the message can be re-sent only if another quote is chosen in the message that is replied by the given message.
14 15 16 |
# File 'lib/tdlib/types/message_sending_state/failed.rb', line 14 def need_another_reply_quote @need_another_reply_quote end |
#need_another_sender ⇒ Boolean
True, if the message can be re-sent only on behalf of a different sender.
14 15 16 |
# File 'lib/tdlib/types/message_sending_state/failed.rb', line 14 def need_another_sender @need_another_sender end |
#need_drop_reply ⇒ Boolean
True, if the message can be re-sent only if the message to be replied is removed. This will be done automatically by resendMessages.
14 15 16 |
# File 'lib/tdlib/types/message_sending_state/failed.rb', line 14 def need_drop_reply @need_drop_reply end |
#retry_after ⇒ Float
Time left before the message can be re-sent, in seconds. No update is sent when this field changes.
14 15 16 |
# File 'lib/tdlib/types/message_sending_state/failed.rb', line 14 def retry_after @retry_after end |