https://api.telegram.org/bot{bot_token}/answerCallbackQuery?callback_query_id={query_id}&text=Hello&show_alert=False
Isn't show alert optional?
show_alert => bool Is it False by default ? 🤔
well show_alert is an optional field right? anyway i added that too but still the same error: bad request
Boolean is just a type of value, and I meant that it is optional
query_id it's true ?! 🤔
And if no extra info - can you send a plain request that is executed, without links? Like replace {query_id} with real one
sure here is what i'm trying to do: so i'm not using any special modules for this because it's just a test and i want to do it by only the raw code of mine. i'm sending a message to my group with an inline keyboard and i click on the button which sends the callback query to the server, now i'm trying to answer to that callback query but i cant. this is the code i'm using for sending the inline keyboard which works just fine: https://api.telegram.org/bot{bot_token}/sendMessage?chat_id={chat_id}&text=GoodMorning&reply_markup={inl}
yeah it sure is. i just copy it
Thanks, but can you send us request with real fields? Without any hyperlinks
Not working one*
sure inline keyboard query OR answercallback qurey?
yup, defaults value is false.
Обсуждают сегодня