All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.dehuckakpyt.telegrambot.container.CallbackContainer.kt Maven / Gradle / Ivy

The newest version!
package io.github.dehuckakpyt.telegrambot.container

import io.github.dehuckakpyt.telegrambot.model.telegram.CallbackQuery
import io.github.dehuckakpyt.telegrambot.model.telegram.Chat
import io.github.dehuckakpyt.telegrambot.model.telegram.MaybeInaccessibleMessage
import io.github.dehuckakpyt.telegrambot.model.telegram.User


/**
 * Created on 13.08.2023.
 *

* * @author Denis Matytsin */ class CallbackContainer( public val query: CallbackQuery, step: String?, content: String?, ) : GeneralContainer(step, content) { override val chat: Chat get() = query.message!!.chat override val from: User get() = query.from override val type: String = "CALLBACK" val message: MaybeInaccessibleMessage get() = query.message!! val inlineMessageId: String? get() = query.inlineMessageId }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy