Похожие чаты

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 ответов

26 просмотров

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 👍

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

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

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта