Class: TD::Types::ChatAvailableReactions::Some

Inherits:
TD::Types::ChatAvailableReactions show all
Defined in:
lib/tdlib/types/chat_available_reactions/some.rb

Overview

Only specific reactions are available in the chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#max_reaction_countInteger

The maximum allowed number of reactions per message; 1-11.

Returns:

  • (Integer)

    the current value of max_reaction_count



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

def max_reaction_count
  @max_reaction_count
end

#reactionsArray<TD::Types::ReactionType>

The list of reactions.

Returns:



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

def reactions
  @reactions
end