'python telegram bot - how to see if my bot is admin in the public channel? -
I want to check if my bot is admin in the channel by channel id.
For more story I am getting channel id from forwarded channel messages. I want to check if bot is in the channel and is admin.
Solution 1:[1]
seems like
bot.get_chat_administrators(channel_id)
works for public channels
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | OuzKagan |
