Class: TD::Types::StorePaymentPurpose::Stars
- Inherits:
-
TD::Types::StorePaymentPurpose
- Object
- Dry::Struct
- Base
- TD::Types::StorePaymentPurpose
- TD::Types::StorePaymentPurpose::Stars
- Defined in:
- lib/tdlib/types/store_payment_purpose/stars.rb
Overview
The user buying Telegram Stars.
Instance Attribute Summary collapse
-
#amount ⇒ Integer
Paid amount, in the smallest units of the currency.
-
#currency ⇒ TD::Types::String
ISO 4217 currency code of the payment currency.
-
#star_count ⇒ Integer
Number of bought Telegram Stars.
Method Summary
Methods inherited from Base
Instance Attribute Details
#amount ⇒ Integer
Paid amount, in the smallest units of the currency.
7 8 9 |
# File 'lib/tdlib/types/store_payment_purpose/stars.rb', line 7 def amount @amount end |
#currency ⇒ TD::Types::String
ISO 4217 currency code of the payment currency.
7 8 9 |
# File 'lib/tdlib/types/store_payment_purpose/stars.rb', line 7 def currency @currency end |
#star_count ⇒ Integer
Number of bought Telegram Stars.
7 8 9 |
# File 'lib/tdlib/types/store_payment_purpose/stars.rb', line 7 def star_count @star_count end |