I'm trying to create bot in python with referral feature but I didn't get any method to create referral links for user in telegram docs. can you suggest any alternative approach for it. so that we can create a link and any new member can follow that link to start bot and referral got registered in referrers account.
Try to use some redirect method in your webserver code.

Generate the referral link and save in some storage
When user open the link, after check method redirect to bot
is there any method or api available to create unique referral link for telegram bot with python