TransactionPartnerAffiliateProgram
Describes the affiliate program that issued the affiliate commission received via this transaction.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the transaction partner, always “affiliate_program” |
sponsor_user | User | optional | Optional. Information about the bot that sponsored the affiliate program |
commission_per_mille | number | required | The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users |
import
import type { TransactionPartnerAffiliateProgram } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#transactionpartneraffiliateprogram