Layer 231
constructor
payments.currencyRates#bbcce4c2 rates:Vector<CurrencyRate> = payments.CurrencyRates;

Parameters

Name Type Description
Rates Vector<CurrencyRate> The exchange rates

Gogram Example

// Creating PaymentsCurrencyRatesObj constructor
obj := &tg.PaymentsCurrencyRatesObj{
    Rates: []tg.CurrencyRate{&tg.CurrencyRateObj{}},
}