DEV Community

Discussion on: A Trick to Make your Telegram Bot Private

Collapse
 
k4ml profile image
Kamal Mustafa

tgcli script has /chat_id command to show chat_id of the group.

github.com/web2gram/tgcli/blob/mas...

Collapse
 
amree profile image
Amree Zaid

Good to know and I think you can always get the chat_id if you're in the group and just listen to one of the messages. I didn't include the bot in the group before as there was no use for it.

I was just lazy to do that and decided to blindly trust an unknown bot lol. My bot is alive and being used by many people so I want to get this done quickly and go to sleep.

But yeah, I shouldn't trust simply trust that bot 🤣