StaticGramBot API

SuggestedPostPrice

Describes the price of a suggested post.

Поля

currencyString
Currency in which the post will be paid. Currently, must be one of “XTR” for Telegram Stars or “TON” for TON grams.
amountInteger
The amount of the currency that will be paid for the post in the smallest units of the currency, i.e. Telegram Stars or nanograms. Currently, price in Telegram Stars must be between 5 and 100000, and price in nanograms must be between 10000000 and 10000000000000.

Минимальный JSON

JSON
{
  "currency": "...",
  "amount": 1
}

Где используется

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top