NextGramBot API

AffiliateInfo

Contains information about the affiliate that received a commission via this transaction.

Поля

The bot or the user that received an affiliate commission if it was received by a bot or a user
The chat that received an affiliate commission if it was received by a chat
The number of NextGram Stars received by the affiliate for each 1000 NextGram Stars received by the bot from referred users
amountInteger
Integer amount of NextGram Stars received by the affiliate from the transaction, rounded to 0; can be negative for refunds
nanostar_amountIntegeroptional
The number of 1/1000000000 shares of NextGram Stars received by the affiliate; from -999999999 to 999999999; can be negative for refunds

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

JSON
{
  "commission_per_mille": 1,
  "amount": 1
}

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

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