Class: TD::Types::Update::MessageReaction

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/message_reaction.rb

Overview

User changed its reactions on a message with public reactions; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#actor_idTD::Types::MessageSender

Identifier of the user or chat that changed reactions.

Returns:



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

def actor_id
  @actor_id
end

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



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

def chat_id
  @chat_id
end

#dateInteger

Point in time (Unix timestamp) when the reactions were changed.

Returns:

  • (Integer)

    the current value of date



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

def date
  @date
end

#message_idInteger

Message identifier.

Returns:

  • (Integer)

    the current value of message_id



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

def message_id
  @message_id
end

#new_reaction_typesArray<TD::Types::ReactionType>

New list of chosen reactions.

Returns:



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

def new_reaction_types
  @new_reaction_types
end

#old_reaction_typesArray<TD::Types::ReactionType>

Old list of chosen reactions.

Returns:



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

def old_reaction_types
  @old_reaction_types
end