class
Tourmaline::SuggestedPostPrice
- Tourmaline::SuggestedPostPrice
- Reference
- Object
Overview
Describes the price of a suggested post.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
Instance Method Summary
-
#amount : Int32 | Int64
The amount of the currency that will be paid for the post in the smallest units of the currency, i.e.
-
#amount=(amount : Int32 | Int64)
The amount of the currency that will be paid for the post in the smallest units of the currency, i.e.
-
#currency : String
Currency in which the post will be paid.
-
#currency=(currency : String)
Currency in which the post will be paid.
Constructor Detail
Instance Method Detail
The amount of the currency that will be paid for the post in the smallest units of the currency, i.e. Telegram Stars or nanotoncoins. Currently, price in Telegram Stars must be between 5 and 100000, and price in nanotoncoins must be between 10000000 and 10000000000000.
The amount of the currency that will be paid for the post in the smallest units of the currency, i.e. Telegram Stars or nanotoncoins. Currently, price in Telegram Stars must be between 5 and 100000, and price in nanotoncoins must be between 10000000 and 10000000000000.
Currency in which the post will be paid. Currently, must be one of "XTR" for Telegram Stars or "TON" for toncoins
Currency in which the post will be paid. Currently, must be one of "XTR" for Telegram Stars or "TON" for toncoins