Class: TD::Types::PaidReactor
- Defined in:
- lib/tdlib/types/paid_reactor.rb
Overview
Contains information about a user that added paid reactions.
Instance Attribute Summary collapse
-
#is_anonymous ⇒ Boolean
True, if the reactor is anonymous.
-
#is_me ⇒ Boolean
True, if the paid reaction was added by the current user.
-
#is_top ⇒ Boolean
True, if the reactor is one of the most active reactors; can be false if the reactor is the current user.
-
#sender_id ⇒ TD::Types::MessageSender?
Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren’t the current user.
-
#star_count ⇒ Integer
Number of Telegram Stars added.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_anonymous ⇒ Boolean
True, if the reactor is anonymous.
11 12 13 |
# File 'lib/tdlib/types/paid_reactor.rb', line 11 def is_anonymous @is_anonymous end |
#is_me ⇒ Boolean
True, if the paid reaction was added by the current user.
11 12 13 |
# File 'lib/tdlib/types/paid_reactor.rb', line 11 def is_me @is_me end |
#is_top ⇒ Boolean
True, if the reactor is one of the most active reactors; can be false if the reactor is the current user.
11 12 13 |
# File 'lib/tdlib/types/paid_reactor.rb', line 11 def is_top @is_top end |
#sender_id ⇒ TD::Types::MessageSender?
Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren’t the current user.
11 12 13 |
# File 'lib/tdlib/types/paid_reactor.rb', line 11 def sender_id @sender_id end |
#star_count ⇒ Integer
Number of Telegram Stars added.
11 12 13 |
# File 'lib/tdlib/types/paid_reactor.rb', line 11 def star_count @star_count end |