@@ -11,9 +11,11 @@ import dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.*
1111import dev.inmo.tgbotapi.extensions.utils.types.buttons.*
1212import dev.inmo.tgbotapi.extensions.utils.withContent
1313import dev.inmo.tgbotapi.types.BotCommand
14+ import dev.inmo.tgbotapi.types.CustomEmojiId
1415import dev.inmo.tgbotapi.types.InlineQueries.InlineQueryResult.InlineQueryResultArticle
1516import dev.inmo.tgbotapi.types.InlineQueries.InputMessageContent.InputTextMessageContent
1617import dev.inmo.tgbotapi.types.InlineQueryId
18+ import dev.inmo.tgbotapi.types.buttons.KeyboardButtonStyle
1719import dev.inmo.tgbotapi.types.message.content.TextContent
1820import dev.inmo.tgbotapi.utils.PreviewFeature
1921import dev.inmo.tgbotapi.utils.botCommand
@@ -51,17 +53,17 @@ fun InlineKeyboardBuilder.includePageButtons(page: Int, count: Int) {
5153
5254 row {
5355 if (page - 1 > 2 ) {
54- dataButton(" <<" , " 1 $count " )
56+ dataButton(" <<" , " 1 $count " , style = KeyboardButtonStyle . Danger )
5557 }
5658 if (page - 1 > 1 ) {
57- dataButton(" <" , " ${page - 2 } $count " )
59+ dataButton(" <" , " ${page - 2 } $count " , style = KeyboardButtonStyle . Primary )
5860 }
5961
6062 if (page + 1 < count) {
61- dataButton(" >" , " ${page + 2 } $count " )
63+ dataButton(" >" , " ${page + 2 } $count " , style = KeyboardButtonStyle . Success )
6264 }
6365 if (page + 2 < count) {
64- dataButton(" >>" , " $count $count " )
66+ dataButton(" >>" , " $count $count " , style = KeyboardButtonStyle . Danger )
6567 }
6668 }
6769 row {
0 commit comments