yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.31k stars 1.51k forks source link

Can't use bot-api add (members | users) to channel #910

Closed Jinghao1209 closed 2 years ago

Jinghao1209 commented 2 years ago

Its sounds like a protection mechanism....Any information I have checked so far, I have not seen that you can use bot-api to add users to ....it is a protection mechanism to protect user? or have method to do this but i don't know....pls tell me, i have post same of this question in stackoverflow, at: here

it is have any method? using user_id or username? is this fixed?

danielperez9430 commented 2 years ago

Hi @Jinghao1209 , you can't do it with the Bot API. You can only do it using your Telegram account as userbot, for do it you need to use any library based on MTProto API or TDLib.

But remember, adding people without permission to a channel can end up limiting your Telegram account. There is also a limit of 200 people per account

Jinghao1209 commented 2 years ago

Hi @Jinghao1209 , you can't do it with the Bot API. You can only do it using your Telegram account as userbot, for do it you need to use any library based on MTProto API or TDLib.

But remember, adding people without permission to a channel can end up limiting your Telegram account. There is also a limit of 200 people per account

thank you!