Похожие чаты

Can we check users join requests if we have private

channel with approval before joining? I need to get users ids who want to join channel

13 ответов

20 просмотров

As a user or bot

Alexandr- Автор вопроса
⎞ .·. ⎝ ⎝
As a user or bot

userbot admin of channel

I think you can't until you enable requests to join

Alexandr- Автор вопроса
Alexandr
userbot admin of channel

if it needed bot it's also appropriate me

Alexandr
userbot admin of channel

see the example link, to iterate the requesters. to approve use: await client(HideChatJoinRequestRequest(channel_id, user_id, approved=True or False))

Alexandr- Автор вопроса
⎞ .·. ⎝ ⎝
see the example link, to iterate the requesters. ...

Hi again) About this, all works fine thank you, but I have another question. Is it somehow possible to define which link each user used to apply for channel joining?

Alexandr
Hi again) About this, all works fine thank you, bu...

no. you better use bots with @bot.on(events.Raw(UpdateBotChatInviteRequester)) a user account can't know the join link of join request (with that request alone, and without an owner account)

Alexandr- Автор вопроса
⎞ .·. ⎝ ⎝
no. you better use bots with @bot.on(events.Raw(Up...

If I correctly understand each time when user applies to join, my bot will receive this update with lnvite link? Problem is what if I already have some requests to join and want to know which invite link each user used, is it possible?

Alexandr
If I correctly understand each time when user appl...

A convenient answer vastly depends on you usage. and your status in the group, how many potential admins have created the links.. they're not reliable and bots can't get older joins, only real-time

Alexandr- Автор вопроса
⎞ .·. ⎝ ⎝
A convenient answer vastly depends on you usage. a...

Let's say I have 4 invite links and need to divide users between each link. Links created by one admin, bot or userbot can be admin Bots can't get older, can userbots?

Alexandr
Let's say I have 4 invite links and need to divide...

Usebots can, but not with that request as i said, you'll need to know the invite links beforehand, and since admins can't fetch requesters of an invite link they didn't create. you'll need the owner. you can use GetAdminsWithInvites -> passing admin_id to GetExportedChatInvites(..., admin_id=), match ChatInviteExported.request_needed and loop all admins and gather their links, then do same as the previous snippet, and run GetChatInviteImporters(..., requested=True, link='link')) dynamically, it's cumbersome, however, if you know all the potential request join links, jump to last step and pass to link= to get and filter available join requesters by each link; which you can't get unless you're the owner. or the creator admin of the specific link.

Alexandr- Автор вопроса
⎞ .·. ⎝ ⎝
Usebots can, but not with that request as i said, ...

Thank you again for detailed reply, it helped 👍

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

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

Всем привет! Имеется функция: 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
Карта сайта