
eu.vendeli.tgbot.api.botactions.GetWebhookInfo.kt Maven / Gradle / Ivy
@file:Suppress("MatchingDeclarationName")
package eu.vendeli.tgbot.api.botactions
import eu.vendeli.tgbot.interfaces.ActionState
import eu.vendeli.tgbot.interfaces.SimpleAction
import eu.vendeli.tgbot.interfaces.TgAction
import eu.vendeli.tgbot.types.WebhookInfo
import eu.vendeli.tgbot.types.internal.TgMethod
import eu.vendeli.tgbot.utils.getReturnType
class GetWebhookInfoAction : SimpleAction, ActionState() {
override val TgAction.method: TgMethod
get() = TgMethod("getWebhookInfo")
override val TgAction.returnType: Class
get() = getReturnType()
}
fun getWebhookInfo() = GetWebhookInfoAction()
© 2015 - 2025 Weber Informatics LLC | Privacy Policy