I've been using python-telegram-bot and I want my telegram bot to change supergroup's type from public into private, but I'm not able to find any api about this. Can anyone tell me is it possible to make a telegram bot to change supergroup's type?
Asked
Active
Viewed 462 times
2 Answers
1
Not at all.
This is not related to your programming language. This is because Telegram Bot API doesn't support your desired operation.

Alireza Zojaji
- 802
- 2
- 13
- 33
1
Nope, you can't
You only can subscribe to group change checking migrate_from_chat_id
and migrate_to_chat_id
in messages inside channel. Unfortunately you can't init such changes from bot, only observation possible and could be handled with fields mentioned above.

Константин Носов
- 69
- 5