Telegram.BotAPI icon indicating copy to clipboard operation
Telegram.BotAPI copied to clipboard

How to protect your token?

Open RINCODER opened this issue 3 years ago • 1 comments

Greetings, I am using your library (package) to send notifications in a telegram, but I ran into such a problem that my token is also sent in network traffic when sending a message, and literally a day ago my token was thrown off from the bot.

Is there a way to protect the token? The program is located with different people and I would not like it to get to them in

(without server)

RINCODER avatar Jan 05 '23 09:01 RINCODER

If I understood correctly, you are sharing the program with the token to different people, right?

I don't know why you do it but that's wrong. Your bot must be on a server where only you can access information like the token.

Eptagone avatar Jan 05 '23 12:01 Eptagone