Reputation: 167
I'm writing a Wordpress plugin using a Telegram Bot to send notification to a channel. I can send a command to my already created BOT in this way: https://api.telegram.org/bot[token]/[command]
Is it possible to create a new BOT by code? e.g. sending the following command or similar
https://api.telegram.org/bot[@BotFather]/newbot
Thanks Enzo
Upvotes: 2
Views: 1280
Reputation: 492
Creating bots using the Telegram Bot API is currently not possible.
However, you could use the Telegram API which is generally used to make clients, to interact with Botfather. This would be way more complicated than a single HTTP request though.
Upvotes: 2