Class: TD::Types::Update::StorySendFailed

Inherits:
TD::Types::Update show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#errorTD::Types::Error

The cause of the story sending failure.

Returns:



8
9
10
# File 'lib/tdlib/types/update/story_send_failed.rb', line 8

def error
  @error
end

#error_typeTD::Types::CanSendStoryResult?

Type of the error; may be null if unknown.

Returns:



8
9
10
# File 'lib/tdlib/types/update/story_send_failed.rb', line 8

def error_type
  @error_type
end

#storyTD::Types::Story

The failed to send story.

Returns:



8
9
10
# File 'lib/tdlib/types/update/story_send_failed.rb', line 8

def story
  @story
end