How Developers Create Telegram Affiliate Programs: Custom Commission Rates, Duration Settings & Viral Growth Loops
Scale your Telegram Bot or Mini App with automated, transparent viral distribution. Learn how developers launch native Affiliate Programs, configure custom revenue-sharing percentages and cookie durations, and recruit thousands of channel promoters with zero tracking infrastructure overhead.
Incentivize top Telegram channel admins and influencers to market your product in exchange for automated commission splits.
Set tailored commission rates (5% to 50%) and specify duration windows ranging from 30 days to lifetime attribution.
Telegram automatically calculates, splits, and deposits Star commissions into affiliates' balances with zero server overhead.
checklist Step-by-Step: Launching Your First Affiliate Campaign
Accessing the Bot Affiliate Management Tab
Open the profile page of your Bot or Mini App where you have administrator permissions. Tap Edit, then select Affiliate Program to access the campaign configuration interface.
Defining Commission Percentages and Duration
Choose the commission percentage that affiliates will receive from qualifying in-app Star purchases (e.g. 20%). Next, configure the attribution duration: select whether affiliates earn commissions on purchases made within 1 month, 3 months, 6 months, 1 year, or lifetime attribution.
Publishing to the Global Directory
Toggle the program status to Active. Your bot will automatically appear in Telegram's native directory under Settings > My Stars > Affiliate Programs, exposing your app to millions of potential promoters instantly.
code MTProto Layer 174: Bot Affiliate Management Schema
bots.setBotAffiliateProgram API method:
// Configure or update an affiliate program for a bot
bots.setBotAffiliateProgram#46f041d8
flags:#
bot:InputUser
commission_permille:int // 200 = 20.0% commission rate
duration_months:flags.0?int // 0 = Lifetime, 1 = 30 days
= Updates;
// Query Active Affiliate Performance Ledger
bots.getBotAffiliates#a0a38210
flags:#
bot:InputUser
offset_id:int
limit:100
= bots.BotAffiliates;
help Frequently Asked Questions
Yes. Developers can update commission terms or end a program at any time. Any changes apply only to future referrals, while previously referred users remain attributed under the original terms agreed upon at registration.
No separate fee is charged on affiliate splits. Telegram's standard platform fee on Stars applies to the total invoice amount, and the remaining balance is split automatically between the developer and affiliate according to the configured percentage.