From 3150cd6a370a6b5e9ea2c4a1cc07dc655801f598 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 6 Jan 2022 14:55:07 +0600 Subject: [PATCH] fix build --- .../types/CallbackQuery/MessageGameShortNameCallbackQuery.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQuery/MessageGameShortNameCallbackQuery.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQuery/MessageGameShortNameCallbackQuery.kt index 208f820179..88c66aca9a 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQuery/MessageGameShortNameCallbackQuery.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQuery/MessageGameShortNameCallbackQuery.kt @@ -2,12 +2,13 @@ package dev.inmo.tgbotapi.types.CallbackQuery import dev.inmo.tgbotapi.types.CallbackQueryIdentifier import dev.inmo.tgbotapi.types.User -import dev.inmo.tgbotapi.types.message.abstracts.Message +import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.content.abstracts.MessageContent data class MessageGameShortNameCallbackQuery( override val id: CallbackQueryIdentifier, override val from: User, override val chatInstance: String, - override val message: Message, + override val message: ContentMessage, override val gameShortName: String ) : GameShortNameCallbackQuery, MessageCallbackQuery