GramIO API Reference / gramio/dist / TelegramTransactionPartnerAffiliateProgram
Interface: TelegramTransactionPartnerAffiliateProgram
Defined in: @gramio/types/out/objects.d.ts:8187
Describes the affiliate program that issued the affiliate commission received via this transaction.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
commission_per_mille | number | The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users | @gramio/types/out/objects.d.ts:8199 |
sponsor_user? | TelegramUser | Optional. Information about the bot that sponsored the affiliate program | @gramio/types/out/objects.d.ts:8195 |
type | "affiliate_program" | Type of the transaction partner, always “affiliate_program” | @gramio/types/out/objects.d.ts:8191 |