https://discord.gg/botpress logo
Inline Telegram Buttons
# 🤝help
l
Has any worked to get inline buttons from telegram working within the botpress flow? I get this error May 11, 2025, 4:50:37 PM [telegram] Handler received request from Telegram with payload: {"update_id":874838432, "callback_query":{"id":"5511882933357692655","from":{"id":1283335251,"is_bot":false,"first_name":"Lijo","last_name":"Mathew","username":"telelijo","language_code":"en"},"message":{"message_id":325,"from":{"id":6636459847,"is_bot":true,"first_name":"BotpressSetup","username":"MyHomeDocker_bot"},"chat":{"id":1283335251,"first_name":"Lijo","last_name":"Mathew","username":"telelijo","type":"private"},"date":1746962434,"text":"You've run out of credits! Choose a credit pack to purchase:","reply_markup":{"inline_keyboard":[[{"text":"Ask a Question","callback_data":"ask_question"},{"text":"Data Science Basics","callback_data":"data_science"}],[{"text":"ML Algorithms","callback_data":"ml_algorithms"},{"text":"User Details","callback_data":"user_details"}],[{"text":"Buy Gifts/Credits","callback_data":"buy_credits"}]]}},"chat_instance":"-7554430039901691093","data":"buy_credits"}} May 11, 2025, 4:50:37 PM [telegram] Assertion Error: Handler received a non-message update, so the event was ignored
@cold-motherboard-82208 @User
p
What is your current workflow? Telegram buttons shouldn't require any special considerations, however they pop up under the text bar, are you trying to avoid that?
l
The standard buttons look very boring, my client wants the transparent buttons
I am able to send them via code but the response is not processed
p
Oh I see. If you're doing it programatically then you should also wait for the button clicked information in the same way. Is that what you're currently doing?
l
Yes, but I see this in the logs "[telegram] Assertion Error: Handler received a non-message update, so the event was ignored"