I created a bot and i want to send with it messages in a group where this bot wad added like an admin.
The problem is that i don't kno chat ID
of grop and around the web i read only one method to extrapolate it:
https://api.telegram.org/botTOKEN/getUpdates
but i don't want to use this method because i already use WebHook
and when it is active i can't use getUpdates
.
So do you know how can i solve my problem ?
Maybe is there a way to know groups and channels where there's m bot ? Or maybe to know groups and channels of user where there's my bot like admin?
Other suggestions ?
Thanks a lot and sorry for my english