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

#date ⇒ Integer

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_outgoing ⇒ Boolean

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_id ⇒ TD::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

#type ⇒ TD::Types::ReactionType

Type of the reaction.

Returns:



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

def type
  @type
end