We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In this order, the code works
fun execute(@NonNull processBot: Bot.Builder) { processBot.dispatch { callbackQuery { initCallBackQuery(callbackQuery, bot) } text { val chatId = update.message?.chat?.id if (chatId == null) { initAdminCommands(text, bot, update) initAdminStates(bot, update) } else { initCommands(text, bot, update) initUserStates(bot, update) } } preCheckoutQuery { log.info { "Получен preCheckoutQuery: ${preCheckoutQuery.id}" } bot.answerPreCheckoutQuery(preCheckoutQuery.id, ok = true) message { paymentProcessingAction.execute(bot, message) } } } }
But if we rearrange them, we get an error related to threads
preCheckoutQuery { log.info { "Получен preCheckoutQuery: ${preCheckoutQuery.id}" } bot.answerPreCheckoutQuery(preCheckoutQuery.id, ok = true) message { paymentProcessingAction.execute(bot, message) } } callbackQuery { initCallBackQuery(callbackQuery, bot) }
log.txt
The text was updated successfully, but these errors were encountered:
seik
No branches or pull requests
In this order, the code works
But if we rearrange them, we get an error related to threads
log.txt
The text was updated successfully, but these errors were encountered: