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.
-
#error_code ⇒ Integer
An error code; 0 if unknown.
-
#error_message ⇒ TD::Types::String
Error message.
-
#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.
9 10 11 |
# File 'lib/tdlib/types/message_sending_state/failed.rb', line 9 def can_retry @can_retry end |
#error_code ⇒ Integer
An error code; 0 if unknown.
9 10 11 |
# File 'lib/tdlib/types/message_sending_state/failed.rb', line 9 def error_code @error_code end |
#error_message ⇒ TD::Types::String
Error message.
9 10 11 |
# File 'lib/tdlib/types/message_sending_state/failed.rb', line 9 def @error_message end |
#retry_after ⇒ Float
Time left before the message can be re-sent, in seconds. No update is sent when this field changes.
9 10 11 |
# File 'lib/tdlib/types/message_sending_state/failed.rb', line 9 def retry_after @retry_after end |