eu.vendeli.tgbot.api.stickerset.SetStickerSetTitle.kt Maven / Gradle / Ivy
@file:Suppress("MatchingDeclarationName")
package eu.vendeli.tgbot.api.stickerset
import eu.vendeli.tgbot.interfaces.ActionState
import eu.vendeli.tgbot.interfaces.SimpleAction
import eu.vendeli.tgbot.interfaces.TgAction
import eu.vendeli.tgbot.types.internal.TgMethod
import eu.vendeli.tgbot.utils.getReturnType
class SetStickerSetTitleAction(
name: String,
title: String,
) : SimpleAction, ActionState() {
override val TgAction.method: TgMethod
get() = TgMethod("setStickerSetTitle")
override val TgAction.returnType: Class
get() = getReturnType()
init {
parameters["name"] = name
parameters["title"] = title
}
}
fun setStickerSetTitle(name: String, title: String) = SetStickerSetTitleAction(name, title)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy