Class: TD::Types::PaidReactor

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

Overview

Contains information about a user that added paid reactions.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#is_anonymousBoolean

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_meBoolean

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_topBoolean

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_idTD::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_countInteger

Number of Telegram Stars added.



11
12
13
# File 'lib/tdlib/types/paid_reactor.rb', line 11

def star_count
  @star_count
end