How does it create a new bot when we give the token? Is it creating a new process or smth else?
That hosting tokens
How ManyBot works is unknown as it is proprietary software. I think it creates a new bot by generating a token and registering it with the Telegram API, possibly using Docker containerization 🤷🏼♂️
It asks for already created bot tokens , then why registering in telegram API again?
It doesn't create a new bot. It just set the bot's webhook to Manybot server.
Is there an example code i can see
Try https://github.com/SpEcHiDe/JsonBot/blob/master/src/handlers/tgbte.ts#L23
Обсуждают сегодня