File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 11import androidx.compose.runtime.*
22import dev.inmo.micro_utils.coroutines.launchLoggingDropExceptions
3+ import dev.inmo.tgbotapi.types.CustomEmojiId
34import dev.inmo.tgbotapi.types.userIdField
45import dev.inmo.tgbotapi.types.webAppQueryIdField
56import dev.inmo.tgbotapi.webapps.*
@@ -395,6 +396,11 @@ fun main() {
395396 }
396397 mainButton.apply {
397398 setText(" Main button" )
399+ setParams(
400+ BottomButtonParams (
401+ iconCustomEmojiId = CustomEmojiId (" 5370976574969486150" ) // 😏
402+ )
403+ )
398404 onClick {
399405 logsState.add(" Main button clicked" )
400406 hapticFeedback.notificationOccurred(
@@ -405,6 +411,11 @@ fun main() {
405411 }
406412 secondaryButton.apply {
407413 setText(" Secondary button" )
414+ setParams(
415+ BottomButtonParams (
416+ iconCustomEmojiId = CustomEmojiId (" 5370763368497944736" ) // 😒
417+ )
418+ )
408419 onClick {
409420 logsState.add(" Secondary button clicked" )
410421 hapticFeedback.notificationOccurred(
You can’t perform that action at this time.
0 commit comments