I want to create new bot that print users first name in telegram groups.
So it could be easily done in public groups but in private groups I need its id
so I have to add bot to private groups and then what should I do?
I want to do it in Python or Pyrogram also I am not interested to use telegram API like this:
https://api.telegram.org/bot<token>/getUpdates
because I can not use it when I am using Python-telegram bot library.
The main problem is how am I suppose to get private group id
s after I add the bot to it?