Class: TD::Types::StoryInteractionInfo

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

Overview

Contains information about interactions with a story.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#forward_countInteger

Number of times the story was forwarded; 0 if none or unknown.

Returns:

  • (Integer)

    the current value of forward_count



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

def forward_count
  @forward_count
end

#reaction_countInteger

Number of reactions added to the story; 0 if none or unknown.

Returns:

  • (Integer)

    the current value of reaction_count



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

def reaction_count
  @reaction_count
end

#recent_viewer_user_idsArray<Integer>

Identifiers of at most 3 recent viewers of the story.

Returns:

  • (Array<Integer>)

    the current value of recent_viewer_user_ids



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

def recent_viewer_user_ids
  @recent_viewer_user_ids
end

#view_countInteger

Number of times the story was viewed.

Returns:

  • (Integer)

    the current value of view_count



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

def view_count
  @view_count
end