# dev.inmo.tgbotapi.requests.local

docs

# Package dev.inmo.tgbotapi.requests.local

## Types

Close
Link copied to clipboard
object Close : SimpleRequest < Boolean >
Content copied to clipboard

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.

LogOut
Link copied to clipboard
object LogOut : SimpleRequest < Boolean >
Content copied to clipboard

Use this method to log out from the cloud Bot API server before launching the bot locally. You must log out the bot before running it locally, otherwise there is no guarantee that the bot will receive updates. After a successful call, you will not be able to log in again using the same token for 10 minutes