Eptagone / Telegram.BotAPI

Telegram Bot API NET. One of the most complete libraries available to interact with the Telegram Bot API.
MIT License
150 stars 22 forks source link

How to protect your token? #16

Open RINCODER opened 1 year ago

RINCODER commented 1 year ago

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)

Eptagone commented 1 year ago

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.