Похожие чаты

GetChatInviteImportersRequest which permissions channel admin should have to

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

16 ответов

28 просмотров

Add users/invite users via link

Alexandr- Автор вопроса
⎞ .·. ⎝ ⎝
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

Alexandr
It has but doesn't work I have feeling that you n...

Depends on your parameters. if it's not your own created link passed, you need owner

Alexandr- Автор вопроса
⎞ .·. ⎝ ⎝
Depends on your parameters. if it's not your own c...

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

Alexandr- Автор вопроса

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)

Alexandr
Is any possibility to make possible parse join req...

owner is required in case of older join. bots can see a censored version of link as i explained before

Alexandr- Автор вопроса
⎞ .·. ⎝ ⎝
owner is required in case of older join. bots can...

I use userbot now and parse old requests using GetChatInviteImportersRequest

how to except telethon.errors.common.InvalidBufferError: Invalid response buffer (HTTP code -180)?

Ryn
how to except telethon.errors.common.InvalidBuffer...

If it doesn't crash or caused reconnection attempts, there is no way, some are not raised errors

⎞ .·. ⎝ ⎝
If it doesn't crash or caused reconnection attempt...

neither crashes or reconnections, only printing this logs on terminal but for example how to except that for making sure of it?

Ryn
neither crashes or reconnections, only printing th...

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

⎞ .·. ⎝ ⎝
It's meant to be ignored if it isn't critical and ...

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.

Ryn
so it doesn’t make any Timeouts or interruption in...

It's designed that way, some error codes are temporary server issues and should be ignored

Alexandr- Автор вопроса
Alexandr
I use userbot now and parse old requests using Get...

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

Похожие вопросы

Обсуждают сегодня

Всем привет! Имеется функция: function IsValidChar(ch: UTF8Char): Boolean; var i: Integer; ValidChars: AnsiString; begin ValidChars := 'abcdefghijklmnopqrstuvwxyzABCDE...
Евгений
44
For all those that keep asking why no pump? why this ? and why that...? Please close ur ewt chart and open 2 others - TOTAL (total mc) and BTC.D (btc dominance). Maybe BTC a...
Inn3r_G
19
"Since pnut can flip FTM easily, I'm swapping my FTM to pnut and hoping for a easy x5-x10" Perfect recipe for disaster. NFA but chances are, you'll end up as exit liquidity ...
C. A.
7
AMD status update? No longer in the plan but something might be around the corner later on Chinese partner? No longer in the plan. This market does not seem to be the top ...
Ben
6
I get confused when people talk about the ‘bull market’ and the ‘next bull market’ as if anyone really has a clue what’s really going on in the world. First of all - there i...
Shah
1
Добрый день, подскажите, пожалуйста, по проблеме. Сегодня на работе утром обнаружилось что по рдп подключиться не получается к серверу 2022. В серверную зашел - на системно...
srv
19
Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
лучше скажите, причём тут паскаль?
Alexey Kulakov
36
Чтобы перехватить все нажимания буков на форме, надо хук ставить? Пробовал на форме ОнКейДаун, оно ловит клаву если фокус не на компоненте с вводом текста
Serjone
15
Народ! Впервые клиенту пришло письмо от РКН, у вас, дескать, есть яндекс метрика, а нигде не написано, что вы ее юзаете. Никто не сталкивался?
Sasha Beep
14
Карта сайта