1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-01 23:45:25 +00:00
tgbotapi/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQuery/CallbackQuery.kt

18 lines
490 B
Kotlin
Raw Normal View History

2020-10-04 11:06:30 +00:00
package dev.inmo.tgbotapi.types.CallbackQuery
2018-12-26 08:07:24 +00:00
import dev.inmo.tgbotapi.CommonAbstracts.FromUser
2020-10-04 11:06:30 +00:00
import dev.inmo.tgbotapi.types.CallbackQueryIdentifier
import dev.inmo.tgbotapi.types.User
2018-12-26 08:07:24 +00:00
sealed interface CallbackQuery : FromUser {
2018-12-26 08:07:24 +00:00
val id: CallbackQueryIdentifier
val chatInstance: String
2020-01-22 21:59:59 +00:00
}
data class UnknownCallbackQueryType(
override val id: CallbackQueryIdentifier,
2021-10-18 08:45:57 +00:00
override val from: User,
2020-01-22 21:59:59 +00:00
override val chatInstance: String,
val raw: String
) : CallbackQuery