mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2025-08-18 07:19:39 +00:00
fix up to 11.0.0
This commit is contained in:
FSMBot/src/main/kotlin
InlineQueriesBot/src/commonMain/kotlin
KeyboardsBot/KeyboardsBotLib/src/commonMain/kotlin
PollsBot/src/main/kotlin
RightsChangerBot/src/main/kotlin
StickerInfoBot/StickerInfoBotLib/src/commonMain/kotlin
StickerSetHandler/src/main/kotlin
WebApp/src/jvmMain/kotlin
gradle.properties@@ -15,6 +15,7 @@ import dev.inmo.tgbotapi.extensions.utils.withContent
|
||||
import dev.inmo.tgbotapi.types.BotCommand
|
||||
import dev.inmo.tgbotapi.types.InlineQueries.InlineQueryResult.InlineQueryResultArticle
|
||||
import dev.inmo.tgbotapi.types.InlineQueries.InputMessageContent.InputTextMessageContent
|
||||
import dev.inmo.tgbotapi.types.InlineQueryId
|
||||
import dev.inmo.tgbotapi.types.message.content.TextContent
|
||||
import dev.inmo.tgbotapi.utils.*
|
||||
import kotlinx.coroutines.*
|
||||
@@ -137,7 +138,7 @@ suspend fun activateKeyboardsBot(
|
||||
it,
|
||||
results = listOf(
|
||||
InlineQueryResultArticle(
|
||||
it.query,
|
||||
InlineQueryId(it.query),
|
||||
"Send buttons",
|
||||
InputTextMessageContent("It is sent via inline mode inline buttons"),
|
||||
replyMarkup = inlineKeyboard {
|
||||
|
Reference in New Issue
Block a user