Payments

TransactionPartnerAffiliateProgram

Describes the affiliate program that issued the affiliate commission received via this transaction.

fields

fieldtyperequireddescription
typestringrequiredType of the transaction partner, always “affiliate_program”
sponsor_userUseroptionalOptional. Information about the bot that sponsored the affiliate program
commission_per_millenumberrequiredThe number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users

import

types.ts
import type { TransactionPartnerAffiliateProgram } from "@yaebal/types";

used by

types