Class: TD::Types::Stories

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/stories.rb

Overview

Represents a list of stories.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#pinned_story_idsArray<Integer>

Identifiers of the pinned stories; returned only in getChatPostedToChatPageStories with from_story_id == 0.

Returns:

  • (Array<Integer>)

    the current value of pinned_story_ids



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

def pinned_story_ids
  @pinned_story_ids
end

#storiesArray<TD::Types::Story>

The list of stories.

Returns:



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

def stories
  @stories
end

#total_countInteger

Approximate total number of stories found.

Returns:

  • (Integer)

    the current value of total_count



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

def total_count
  @total_count
end