docs / com.github.insanusmokrassar.TelegramBotAPI.requests.webhook / SetWebhook

SetWebhook

(common) fun SetWebhook(url: String, certificate: InputFile, maxAllowedConnections: Int? = null, allowedUpdates: List<String>? = null): Request<Boolean> (source)
fun SetWebhook(url: String, maxAllowedConnections: Int? = null, allowedUpdates: List<String>? = null): Request<Boolean> (source)