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



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

def forward_count
  @forward_count
end

#reactionsTD::Types::MessageReactions?

The list of reactions or tags added to the message; may be null.

Returns:



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

def reactions
  @reactions
end

#reply_infoTD::Types::MessageReplyInfo?

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:



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

def reply_info
  @reply_info
end

#view_countInteger

Number of times the message was viewed.

Returns:

  • (Integer)

    the current value of view_count



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

def view_count
  @view_count
end