Class: TD::Types::StorePaymentPurpose::GiftedPremium
- Inherits:
-
TD::Types::StorePaymentPurpose
- Object
- Dry::Struct
- Base
- TD::Types::StorePaymentPurpose
- TD::Types::StorePaymentPurpose::GiftedPremium
- Defined in:
- lib/tdlib/types/store_payment_purpose/gifted_premium.rb
Overview
The user gifting Telegram Premium to another user.
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.
-
#user_id ⇒ Integer
Identifier of the user to which Telegram Premium is gifted.
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/gifted_premium.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/gifted_premium.rb', line 7 def currency @currency end |
#user_id ⇒ Integer
Identifier of the user to which Telegram Premium is gifted.
7 8 9 |
# File 'lib/tdlib/types/store_payment_purpose/gifted_premium.rb', line 7 def user_id @user_id end |