Похожие чаты

Is there any method to get the 'member joined in

channel via ... invite link' in api bots? i could not find anything about it

14 ответов

12 просмотров

https://tl.telethon.dev/?q=GetExportedChatInvite

bots can't use that

You need to listen to events of join instead

Sepi- Автор вопроса
⎞ .·. ⎝ ⎝
You need to listen to events of join instead

i know its possible with session accounts but i want it in api bot. i tried every possible way to listen to join/left events in channels but there is no update. the only time when bot gets any update about join/left was when i add and delete the bot it self from channel

Sepi
i know its possible with session accounts but i wa...

You will receive join and leave events fine as an admin bot. that's the only way you can get statistics about invite link joins as a bot. also a half censored version of the link will be shown if the bot isn't the creator of the link.

Sepi- Автор вопроса
⎞ .·. ⎝ ⎝
You will receive join and leave events fine as an ...

well i tried with the link which my bot created. when i look at the recent actions in channel, i can see the new user joined the channel via .... invite link. but telegram doesnt send any data about that event to my bot i also made my bot permissions to be able to manage channels and groups in the bot father but it didnt work

Sepi- Автор вопроса
Sepi
well i tried with the link which my bot created. w...

as you can see here is the all informations i need but i dont know how to get these message

Sepi- Автор вопроса
Sepi
screenshot as you can see here is the all informations i need...

https://t.me/DokhtarSaraBot i also found this bot which does exaclty what i want to do in my bot (making and monitoring invite links) and its not a session bot so there must be a way to get this info but i couldnt access the developer to ask him

Sepi
well i tried with the link which my bot created. w...

Bots can't see recent actions. just listen to ChatAction events. if you're using recent enough telethon, you will receive the join events fine. including the info on the link used

Sepi- Автор вопроса
⎞ .·. ⎝ ⎝
Bots can't see recent actions. just listen to Chat...

is there any other way instead of listening to recent actions?

Sepi
is there any other way instead of listening to rec...

events.ChatAction as i said, that's the only way

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

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

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

а через ESC-код ?
Alexey Kulakov
29
30500 за редактор? )
Владимир
47
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
any reference of this implementation?
BitBuddha
29
Ⓐrtto, [4/23/24 7:02 PM] Please explain more fully how it is not working exactly, and what are the steps you are taking, and what error messages come or what happens. Ⓐrtto, ...
Ezza Kezza
2
sounds like people have lost their kaspa on tradeogre... does this mean tradeogre not trustworthy?
Ezza Kezza
15
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
So much speculation in the last week. So much volatility in price. This is because Hedera has a GC that isn't using the network it's governing. Why aren't people asking why a...
Summit Seeker R
9
Карта сайта