|Bandie b520878a7b||1 month ago|
|.env.example||1 month ago|
|.gitignore||1 month ago|
|README.md||1 month ago|
|TelegramContactProtectionBot.py||1 month ago|
The idea behind this bot is that you want to take control on who can contact you. Usually you use a public accessible username (@ handles) to be reachable without sharing your telephone number. This also means that strangers could talk to you and annoy you. To prevent that, you could register a bot using https://t.me/BotFather and use this code to have actual contact requests. Also you could then disable the username in telegram.
.envfile, looking like
/startit in Telegram
/request to contact you. If the being has no public username it will ask for their telephone number which is deniable though.
/setup- Write the forename and ID into the config. The forename is used to show to whom this bot belongs.
/block- Block a being. Use the ID to block.
/unblock- Unblock a being. Use the ID to unblock.
/blocklist- Get all IDs who are blocked.
/setname- Set the name which the bot will use.