Skip to content

GramIO API Reference / gramio/dist / TelegramAffiliateInfo

Interface: TelegramAffiliateInfo

Defined in: @gramio/types/out/objects.d.ts:8062

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

Documentation

Properties

PropertyTypeDescriptionDefined in
affiliate_chat?TelegramChatOptional. The chat that received an affiliate commission if it was received by a chat@gramio/types/out/objects.d.ts:8070
affiliate_user?TelegramUserOptional. The bot or the user that received an affiliate commission if it was received by a bot or a user@gramio/types/out/objects.d.ts:8066
amountnumberInteger amount of Telegram Stars received by the affiliate from the transaction, rounded to 0; can be negative for refunds@gramio/types/out/objects.d.ts:8078
commission_per_millenumberThe number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the bot from referred users@gramio/types/out/objects.d.ts:8074
nanostar_amount?numberOptional. The number of 1/1000000000 shares of Telegram Stars received by the affiliate; from -999999999 to 999999999; can be negative for refunds@gramio/types/out/objects.d.ts:8082