I made a telegram bot using telepot, one of the issues I have is that groups can still invite and make the bot join their channels, even with /setjoingroups disabled. Is there a way to list these groups and leave them from the code or from @BotFather ?
thanks
You can look bot settings inline mode and group privacy
Leaving group channels as a bot