Class: TD::Types::StorePaymentPurpose::PremiumGiveaway

Inherits:
TD::Types::StorePaymentPurpose show all
Defined in:
lib/tdlib/types/store_payment_purpose/premium_giveaway.rb

Overview

The user creating a Telegram Premium giveaway.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#amountInteger

Paid amount, in the smallest units of the currency.



7
8
9
# File 'lib/tdlib/types/store_payment_purpose/premium_giveaway.rb', line 7

def amount
  @amount
end

#currencyTD::Types::String

ISO 4217 currency code of the payment currency.



7
8
9
# File 'lib/tdlib/types/store_payment_purpose/premium_giveaway.rb', line 7

def currency
  @currency
end

#parametersTD::Types::PremiumGiveawayParameters

Giveaway parameters.



7
8
9
# File 'lib/tdlib/types/store_payment_purpose/premium_giveaway.rb', line 7

def parameters
  @parameters
end