| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.CreateBot
Documentation
Creates a bot which will be managed by another bot. Returns the created bot. May return an error with a message BOT_CREATE_LIMIT_EXCEEDED if the user already owns the maximum allowed number of bots as per premiumLimitTypeOwnedBotCount. An internal link "https://t.me/BotFather?start=deletebot" can be processed to handle the error. Returns User
Constructors
| CreateBot | |
Fields
| |