Skip to content

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.

Documentation

Properties

PropertyTypeDescriptionDefined in
commission_per_millenumberThe 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?TelegramUserOptional. 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