Class: TD::Types::InternalLinkType::Story

Inherits:
TD::Types::InternalLinkType show all
Defined in:
lib/tdlib/types/internal_link_type/story.rb

Overview

The link is a link to a story. Call searchPublicChat with the given sender username, then call getStory with the received chat identifier and the

given story identifier, then show the story if received.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#story_idInteger

Story identifier.

Returns:

  • (Integer)

    the current value of story_id



8
9
10
# File 'lib/tdlib/types/internal_link_type/story.rb', line 8

def story_id
  @story_id
end

#story_sender_usernameTD::Types::String

Username of the sender of the story.

Returns:

  • (TD::Types::String)

    the current value of story_sender_username



8
9
10
# File 'lib/tdlib/types/internal_link_type/story.rb', line 8

def story_sender_username
  @story_sender_username
end