depoio / node-telegram-bot

Client wrapper for Telegram Bot API (Under heavy development)
MIT License
136 stars 30 forks source link

Initialize only with App Id and App Hash #85

Open pedroota opened 1 year ago

pedroota commented 1 year ago

Hello everyone,

I hope you're doing well! I'm currently facing some challenges while trying to create a specific use case for a bot. The bot should be able to initialize with only the App Id and App Hash from a Telegram account. Once the code is initialized, it will prompt the user for their phone number and the code sent by Telegram. In some cases, it may also require the user's two-factor authentication password, if applicable.

I was wondering if there is a way to achieve this functionality. Any guidance or suggestions would be greatly appreciated.

Thank you all!