Class: TD::Types::ChatStatisticsInteractionInfo

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

Overview

Contains statistics about interactions with a message sent in the chat or a story sent by the chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#forward_countInteger

Number of times the object was forwarded.

Returns:

  • (Integer)

    the current value of forward_count



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

def forward_count
  @forward_count
end

#object_typeTD::Types::ChatStatisticsObjectType

Type of the object.

Returns:



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

def object_type
  @object_type
end

#reaction_countInteger

Number of times reactions were added to the object.

Returns:

  • (Integer)

    the current value of reaction_count



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

def reaction_count
  @reaction_count
end

#view_countInteger

Number of times the object was viewed.

Returns:

  • (Integer)

    the current value of view_count



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

def view_count
  @view_count
end