//[docs](../../index.md)/[dev.inmo.tgbotapi.requests.webhook](index.md) # Package dev.inmo.tgbotapi.requests.webhook ## Types | Name | Summary | |---|---| | [DeleteWebhook](-delete-webhook/index.md)| [common]
Content
class [DeleteWebhook](-delete-webhook/index.md) : [SimpleRequest](../dev.inmo.tgbotapi.requests.abstracts/-simple-request/index.md)<[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)>


| | [GetWebhookInfo](-get-webhook-info/index.md)| [common]
Content
class [GetWebhookInfo](-get-webhook-info/index.md) : [SimpleRequest](../dev.inmo.tgbotapi.requests.abstracts/-simple-request/index.md)<[WebhookInfo](../dev.inmo.tgbotapi.types/-webhook-info/index.md)>


| | [MultipartSetWebhookRequest](-multipart-set-webhook-request/index.md)| [common]
Content
class [MultipartSetWebhookRequest](-multipart-set-webhook-request/index.md)(**url**: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), **certificate**: [MultipartFile](../dev.inmo.tgbotapi.requests.abstracts/-multipart-file/index.md), **ipAddress**: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, **maxAllowedConnections**: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)?, **allowedUpdates**: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>?, **dropPendingUpdates**: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)?) : [SetWebhookRequest](-set-webhook-request/index.md), [MultipartRequest](../dev.inmo.tgbotapi.requests.abstracts/-multipart-request/index.md)<[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)>


| | [SetWebhook](-set-webhook/index.md)| [common]
Content
data class [SetWebhook](-set-webhook/index.md) : [SetWebhookRequest](-set-webhook-request/index.md), [DataRequest](../dev.inmo.tgbotapi.requests.send.media.base/-data-request/index.md)<[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)>
More info
Use this method to specify a url and receive incoming updates via an outgoing webhook.


| | [SetWebhookRequest](-set-webhook-request/index.md)| [common]
Content
sealed class [SetWebhookRequest](-set-webhook-request/index.md) : [Request](../dev.inmo.tgbotapi.requests.abstracts/-request/index.md)<[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)>


| ## Functions | Name | Summary | |---|---| | [SetWebhook](-set-webhook.md)| [common]
Content
fun [SetWebhook](-set-webhook.md)(url: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), ipAddress: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, maxAllowedConnections: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? = null, allowedUpdates: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>? = null, dropPendingUpdates: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null): [SetWebhook](-set-webhook/index.md)
fun [SetWebhook](-set-webhook.md)(url: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), certificate: [InputFile](../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.md), ipAddress: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, maxAllowedConnections: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? = null, allowedUpdates: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>? = null, dropPendingUpdates: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null): [SetWebhookRequest](-set-webhook-request/index.md)
More info
Use this method to specify a url and receive incoming updates via an outgoing webhook.


[common]
Content
fun [SetWebhook](-set-webhook.md)(url: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), certificate: [FileId](../dev.inmo.tgbotapi.requests.abstracts/-file-id/index.md), ipAddress: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, maxAllowedConnections: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? = null, allowedUpdates: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>? = null, dropPendingUpdates: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null): [SetWebhook](-set-webhook/index.md)
fun [SetWebhook](-set-webhook.md)(url: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), certificate: [MultipartFile](../dev.inmo.tgbotapi.requests.abstracts/-multipart-file/index.md), ipAddress: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, maxAllowedConnections: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? = null, allowedUpdates: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>? = null, dropPendingUpdates: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null): [MultipartSetWebhookRequest](-multipart-set-webhook-request/index.md)


|