mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-02 07:55:25 +00:00
13 lines
515 B
Kotlin
13 lines
515 B
Kotlin
|
package com.github.insanusmokrassar.TelegramBotAPI.requests.webhook
|
||
|
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.SimpleRequest
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.types.WebhookInfo
|
||
|
import kotlinx.serialization.KSerializer
|
||
|
import kotlinx.serialization.Serializable
|
||
|
|
||
|
@Serializable
|
||
|
object GetWebhookInfo : SimpleRequest<WebhookInfo> {
|
||
|
override fun method(): String = "getWebhookInfo"
|
||
|
|
||
|
override fun resultSerializer(): KSerializer<WebhookInfo> = WebhookInfo.serializer()
|
||
|
}
|