1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-10-07 01:45:03 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.requests.local/-close/index.md
2021-03-17 15:18:37 +00:00

2.0 KiB

//docs/dev.inmo.tgbotapi.requests.local/Close

Close

[common] object Close : SimpleRequest<Boolean>

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 [common]
Content
open override fun method(): String


Properties

Name Summary
requestSerializer [common] open override val requestSerializer: <*>
resultDeserializer [common] open override val resultDeserializer: <Boolean>