bipinkrish / Save-Restricted-Bot

A Telegram Bot, Which can send you restricted content by it's post link
201 stars 406 forks source link

Private group join error #13

Closed C3FF995BAE4 closed 1 year ago

C3FF995BAE4 commented 1 year ago

Thank you for fix, but I found new bug with latest code

When I send private group for join, bot return the error below: Error : Telegram says: [400 BOT_METHOD_INVALID] - The method can't be used by bots (caused by "messages.ImportChatInvite")

So I manually entered the group and sent the link. Then I got the following error: Error : Telegram says: [400 CHANNEL_INVALID] - The channel parameter is invalid (caused by "channels.GetChannels")

Is this just for me?

bipinkrish commented 1 year ago

You need to set string session of a account not bot

C3FF995BAE4 commented 1 year ago

It looks like almost all the replit generators are dead. I will find another generator and try it :)