delete Webhook
suspend fun TelegramBotApiClient.deleteWebhook(requestBody: DeleteWebhookRequest): TelegramResponse<Boolean>
Content copied to clipboard
Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success.
suspend fun TelegramBotApiClient.deleteWebhook(dropPendingUpdates: Boolean = false): TelegramResponse<Boolean>
Content copied to clipboard
Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success.
Parameters
dropPendingUpdates
Pass True to drop all pending updates