Похожие чаты

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

56 просмотров

As a user or bot

Заводной-Токен Автор вопроса

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

Заводной-Токен Автор вопроса
Заводной Токен
userbot admin of channel

if it needed bot it's also appropriate me

Заводной Токен
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))

Заводной-Токен Автор вопроса
Растровый Слон
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?

Заводной Токен
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)

Заводной-Токен Автор вопроса
Растровый Слон
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?

Заводной Токен
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

Заводной-Токен Автор вопроса
Растровый Слон
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?

Заводной Токен
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.

Заводной-Токен Автор вопроса

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

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

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Мелодичный Сырник
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Фетровый Лингвист
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Настойчивый Кварк
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...
Льдистая Лужица
2
30500 за редактор? )
Замшевый Алхимик
47
а через ESC-код ?
Виноградная Притча
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...
Звенящий Циферблат
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Туманный Ларец
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Длинный Минерал
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Тягучая Ракушка
11
Карта сайта