Class: TD::Types::FoundStories

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

Overview

Contains a list of stories found by a search.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#next_offsetTD::Types::String

The offset for the next request. If empty, then there are no more results.

Returns:

  • (TD::Types::String)

    the current value of next_offset



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

def next_offset
  @next_offset
end

#storiesArray<TD::Types::Story>

List of stories.

Returns:



8
9
10
# File 'lib/tdlib/types/found_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/found_stories.rb', line 8

def total_count
  @total_count
end