B
B
BOSH222022-03-18 12:19:54
Python
BOSH22, 2022-03-18 12:19:54

How to make the bot send a message to the user when the user subscribes to the channel?

I saw an interesting functionality, I wanted to implement something like this, can you tell me which way to dig.
The user receives an invite link, follows it and clicks "apply", after which he instantly receives a message from the bot (although the user has never launched this bot before), while the user does not join any channel.
I do not quite understand how exactly the bot first sends a message to a user who has not launched this bot before.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LXSTVAYNE, 2022-03-18
@lxstvayne

Telegram bot api does not allow sending messages to users who have not previously written to the bot. This thing uses user bots. When you click on submit an application, some kind of trigger fires, which opens access to the user's ID.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question