Class: TD::Types::StoryOrigin::PublicStory

Inherits:
TD::Types::StoryOrigin show all
Defined in:
lib/tdlib/types/story_origin/public_story.rb

Overview

The original story was a public story with known sender.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Identifier of the chat that posted original story.

Returns:

  • (Integer)

    the current value of chat_id



6
7
8
# File 'lib/tdlib/types/story_origin/public_story.rb', line 6

def chat_id
  @chat_id
end

#story_idInteger

Story identifier of the original story.

Returns:

  • (Integer)

    the current value of story_id



6
7
8
# File 'lib/tdlib/types/story_origin/public_story.rb', line 6

def story_id
  @story_id
end