//[docs](../../../index.md)/[dev.inmo.tgbotapi.requests.local](../index.md)/[Close](index.md) # Close [common] object [Close](index.md) : [SimpleRequest](../../dev.inmo.tgbotapi.requests.abstracts/-simple-request/index.md)<[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)> 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. ## See also common | | | |---|---| | | | ## Functions | Name | Summary | |---|---| | [method](method.md)| [common]
Content
open override fun [method](method.md)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)


| ## Properties | Name | Summary | |---|---| | [requestSerializer](request-serializer.md)| [common] open override val [requestSerializer](request-serializer.md): <*>
| | [resultDeserializer](result-deserializer.md)| [common] open override val [resultDeserializer](result-deserializer.md): <[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)>
|