Class: TD::Types::StoryInteractions

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

Overview

Represents a list of interactions with a story.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#interactionsArray<TD::Types::StoryInteraction>

List of story interactions.

Returns:



11
12
13
# File 'lib/tdlib/types/story_interactions.rb', line 11

def interactions
  @interactions
end

#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



11
12
13
# File 'lib/tdlib/types/story_interactions.rb', line 11

def next_offset
  @next_offset
end

#total_countInteger

Approximate total number of interactions found.

Returns:

  • (Integer)

    the current value of total_count



11
12
13
# File 'lib/tdlib/types/story_interactions.rb', line 11

def total_count
  @total_count
end

#total_forward_countInteger

Approximate total number of found forwards and reposts; always 0 for chat stories.

Returns:

  • (Integer)

    the current value of total_forward_count



11
12
13
# File 'lib/tdlib/types/story_interactions.rb', line 11

def total_forward_count
  @total_forward_count
end

#total_reaction_countInteger

Approximate total number of found reactions; always 0 for chat stories.

Returns:

  • (Integer)

    the current value of total_reaction_count



11
12
13
# File 'lib/tdlib/types/story_interactions.rb', line 11

def total_reaction_count
  @total_reaction_count
end