Class: TD::Types::AvailableReaction

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

Overview

Represents an available reaction.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#needs_premiumBoolean

True, if Telegram Premium is needed to send the reaction.

Returns:

  • (Boolean)

    the current value of needs_premium



6
7
8
# File 'lib/tdlib/types/available_reaction.rb', line 6

def needs_premium
  @needs_premium
end

#typeTD::Types::ReactionType

Type of the reaction.

Returns:



6
7
8
# File 'lib/tdlib/types/available_reaction.rb', line 6

def type
  @type
end