S
S
silakov2020-02-11 17:34:04
Python
silakov, 2020-02-11 17:34:04

How to develop a telegram bot referral system?

How to create a referral system in Telegram? I created the link, but I need to count how many people followed the referral link of another person to this bot! pyTelegramBotAPI library

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2020-02-11
@NeiroNx

You have a table of referral links in the database, your system at a certain address is able to process link clicks (webserver) when you click, it finds a link in the table and adds 1 link to the click field and redirects to the desired link.

Z
Zudwa, 2020-02-11
@pembrock

Make links like this t.me/BotName?start=123 and look at the text in the Message object

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question