P
P
p4r4p3t2019-05-26 06:57:23
Node.js
p4r4p3t, 2019-05-26 06:57:23

How to invite a telegram to a channel through a bot?

Dear forum users, good day. The question is: how can I invite a person by his id to the channel through the bot?
I'm using the node-telegram-bot-api
bible I searched all the docks, found addChatMember in the Telegram API, but this is the api of the telegram itself, not bots (
What to do?
Correction: inviting by link is not an option, there will be too many I can add users to the channel via telegrams, can a bot do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nazarii88, 2020-02-05
@Nazarii88

No. Bots don't have this feature.
But you can do this through the Telegram API. (Well, that is, a bot cannot be made, but the software for this is yes). And there is already such software in tyrnets. (Not free of course).
However, for mass additions of people to the chat and channel, blocking is threatened.

I
Ivan Bogachev, 2017-06-03
@lemonlimelike

Convert your file to UTF-8 without BOM.
The question "why" was already answered on stackoverflow about five years ago.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question