yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.45k stars 1.53k forks source link

Is selfbotting possible? #926

Closed pedrokpp closed 2 years ago

pedrokpp commented 2 years ago

Question

I'm thinking on changing my selfbot from python to node because I'm having some problems that I'll check if they still occur when I run it with node, but I didn't found any examples or material on how to use this library with a selfbot such as a phone number or something like that

Is that possible with this library? If so, how? I've searched a bit for any issue that had something regarding this but didn't find anything.

Sorry if this is a duplicate of some question or you don't support it.

Thank you in advance!

danielperez9430 commented 2 years ago

Hi @pedrokpp, you can use this library with normal bots (no userbots) and you can use self host version of telegram bot api (https://github.com/tdlib/telegram-bot-api).

Using self host telegram bot api you can upload/download files up to 2GB. If you search something for user bots you need to use tdlib.