docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.webhook / setWebhookInfo

setWebhookInfo

(common) suspend fun RequestsExecutor.setWebhookInfo(url: String, certificate: FileId, maxAllowedConnections: Int? = null, allowedUpdates: List<String>? = null): Boolean (source)
suspend fun RequestsExecutor.setWebhookInfo(url: String, certificate: MultipartFile, maxAllowedConnections: Int? = null, allowedUpdates: List<String>? = null): Boolean (source)