Telegram Bot API
Use this method to close the bot instance before moving it from one local server to another. You need to delete the webhook before calling this method to ensure that the bot isn't launched again after server restart. The method will return error 429 in the first 10 minutes after the bot is launched. Returns True on success. Requires no parameters.
post/close
Request
- Base URL: https://api.telegram.org/bot<bot_token>
- URL: https://api.telegram.org/bot<bot_token>/close
- Auth: none declared
Response
Telegram API response
Changes
No recorded changes to this operation across all 3 revisions of this API.