Class: TD::Types::MessageInteractionInfo

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

Overview

Contains information about interactions with a message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#forward_countInteger

Number of times the message was forwarded.

Returns:

  • (Integer)

    the current value of forward_count



10
11
12
# File 'lib/tdlib/types/message_interaction_info.rb', line 10

def forward_count
  @forward_count
end

#reply_infoTD::Types::MessageReplyInfo?

Contains information about direct or indirect replies to the message; may be null. Currently, available only in channels with a discussion supergroup and discussion supergroups for messages, which are not replies itself.

Returns:



10
11
12
# File 'lib/tdlib/types/message_interaction_info.rb', line 10

def reply_info
  @reply_info
end

#view_countInteger

Number of times the message was viewed.

Returns:

  • (Integer)

    the current value of view_count



10
11
12
# File 'lib/tdlib/types/message_interaction_info.rb', line 10

def view_count
  @view_count
end