mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-03 00:15:27 +00:00
18 lines
448 B
Kotlin
18 lines
448 B
Kotlin
package dev.inmo.tgbotapi.types.CallbackQuery
|
|
|
|
import dev.inmo.tgbotapi.types.CallbackQueryIdentifier
|
|
import dev.inmo.tgbotapi.types.User
|
|
|
|
sealed interface CallbackQuery {
|
|
val id: CallbackQueryIdentifier
|
|
val user: User
|
|
val chatInstance: String
|
|
}
|
|
|
|
data class UnknownCallbackQueryType(
|
|
override val id: CallbackQueryIdentifier,
|
|
override val user: User,
|
|
override val chatInstance: String,
|
|
val raw: String
|
|
) : CallbackQuery
|