Class: TD::Types::AddedReaction

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

Overview

Represents a reaction applied to a message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#dateInteger

Point in time (Unix timestamp) when the reaction was added.

Returns:

  • (Integer)

    the current value of date



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

def date
  @date
end

#is_outgoingBoolean

True, if the reaction was added by the current user.

Returns:

  • (Boolean)

    the current value of is_outgoing



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

def is_outgoing
  @is_outgoing
end

#sender_idTD::Types::MessageSender

Identifier of the chat member, applied the reaction.

Returns:



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

def sender_id
  @sender_id
end

#typeTD::Types::ReactionType

Type of the reaction.

Returns:



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

def type
  @type
end