How to make the bot paid?

Hi all.
How to use telebot to make so that the people could not bring my bot in your group if you did not buy it?
April 3rd 20 at 17:22
1 answer
April 3rd 20 at 17:24
Solution
Ahem.
Start by creating a database, although it is to check enough and plain txt document.

And every time the user hit the /start to check if it chat_id in the document(you can check and excellent, then you can change it, and no chat_id)

If user is not there, then politely offer him to pay check payment, and in case it is received, add it to the txt.

Find more questions by tags PythonBotsTelegram