chat invite link error #1945
Closed
JonasCaetanoSz
started this conversation in
General
Replies: 3 comments 4 replies
-
The id is mb outdated |
Beta Was this translation helpful? Give feedback.
2 replies
-
Come on, what is unclear in this message?! You can create invite link only when your bot is a member and an admin of the group with appropriate permissions. If it is not (currently - not a member). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi, i'm creating a a bot that manages channel members , I save the id of the channels and groups that the bot was placed as an administrator in the Database, but when I use these id like this:
for chat_id in self.database.get_all_chat(): invite_url = self.bot.create_chat_invite_link(chat_id=chat_id).invite_link
I get the error: bot is not a member of the supergroup chat
I already checked, and all the channels and groups that are in the database the bot is admin, this seems to happen only with some chats, can you help me?
Beta Was this translation helpful? Give feedback.
All reactions