do this? I have checked through account I can see join requests without any permissions if I admin of channel but using api it returns:
telethon.errors.rpcerrorlist.ChatAdminRequiredError: Chat admin privileges are required to do that in the specified chat
Add users/invite users via link
It has but doesn't work I have feeling that you need to be owner of channel to do this because I tested yesterday from owner acc and it worked
Do you want get info about the users that joined the chat using a specific chat invite? If not you should use another method
Depends on your parameters. if it's not your own created link passed, you need owner
oh got it now, if link is not mine make sense But still weird that I see join requests in GUI from not owner acc
Is any possibility to make possible parse join requests for all admins regardless which one created link? My case is I need parse join requests from links which created by other admin(s)
owner is required in case of older join. bots can see a censored version of link as i explained before
I use userbot now and parse old requests using GetChatInviteImportersRequest
how to except telethon.errors.common.InvalidBufferError: Invalid response buffer (HTTP code -180)?
If it doesn't crash or caused reconnection attempts, there is no way, some are not raised errors
neither crashes or reconnections, only printing this logs on terminal but for example how to except that for making sure of it?
It's meant to be ignored if it isn't critical and doesn't affect the execution. you can read about logging module in python if you want to capture the log itself than excepting the error, with a filter
so it doesn’t make any Timeouts or interruption in requests? I’ve already done that by errors.InvalidBufferError but it seems it doesn’t really occur, it seems only a warning sometimes.
It's designed that way, some error codes are temporary server issues and should be ignored
So dont you know any way to do this with userbot? My userbot cant create links and should only check join requests because it will be used by not mine channels
Обсуждают сегодня