Class: TD::Types::Update::StorySendFailed
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::StorySendFailed
- Defined in:
- lib/tdlib/types/update/story_send_failed.rb
Overview
A story failed to send. If the story sending is canceled, then updateStoryDeleted will be received instead of this update.
Instance Attribute Summary collapse
-
#error ⇒ TD::Types::Error
The cause of the story sending failure.
-
#error_type ⇒ TD::Types::CanSendStoryResult?
Type of the error; may be null if unknown.
-
#story ⇒ TD::Types::Story
The failed to send story.
Method Summary
Methods inherited from Base
Instance Attribute Details
#error ⇒ TD::Types::Error
The cause of the story sending failure.
8 9 10 |
# File 'lib/tdlib/types/update/story_send_failed.rb', line 8 def error @error end |
#error_type ⇒ TD::Types::CanSendStoryResult?
Type of the error; may be null if unknown.
8 9 10 |
# File 'lib/tdlib/types/update/story_send_failed.rb', line 8 def error_type @error_type end |
#story ⇒ TD::Types::Story
The failed to send story.
8 9 10 |
# File 'lib/tdlib/types/update/story_send_failed.rb', line 8 def story @story end |