You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method adds buttons to response, but telegram does not support adding buttons by separate reaction, so when user reacts with buttons in telegram channel, nothing happens.
Solution:
We can modify buttons in TelegramReaction to edit last response and add buttons to last response. Thus allowing using following code in TelegramChannel like in synchronous channels:
action {
reactions.say("What number do you pick?")
reactions.buttons("1", "2", "3")
}
The text was updated successfully, but these errors were encountered:
Problem:
In
Reaction.kt
we have method:This method adds buttons to response, but telegram does not support adding buttons by separate reaction, so when user reacts with buttons in telegram channel, nothing happens.
Solution:
We can modify
buttons
in TelegramReaction to edit last response and add buttons to last response. Thus allowing using following code inTelegramChannel
like in synchronous channels:The text was updated successfully, but these errors were encountered: