Hey everyone🌹 is there anything wrong with this request? https://api.telegram.org/bot{bot_token}/answerCallbackQuery?callback_query_id={query_id}&text=Hello

15 ответов

20 просмотров

https://api.telegram.org/bot{bot_token}/answerCallbackQuery?callback_query_id={query_id}&text=Hello&show_alert=False

s0m31 🇷🇺
Isn't show alert optional?

show_alert => bool Is it False by default ? 🤔

Behnam-Mohammadi Автор вопроса
𝐆𝐎𝐎𝐃 𝐁𝐎𝐘
https://api.telegram.org/bot{bot_token}/answerCall...

well show_alert is an optional field right? anyway i added that too but still the same error: bad request

𝐆𝐎𝐎𝐃 𝐁𝐎𝐘
show_alert => bool Is it False by default ? 🤔

Boolean is just a type of value, and I meant that it is optional

Behnam Mohammadi
well show_alert is an optional field right? anyway...

And if no extra info - can you send a plain request that is executed, without links? Like replace {query_id} with real one

Behnam-Mohammadi Автор вопроса
s0m31 🇷🇺
Any extra info?

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}

Behnam-Mohammadi Автор вопроса
Behnam Mohammadi
sure here is what i'm trying to do: so i'm not usi...

Thanks, but can you send us request with real fields? Without any hyperlinks

Behnam-Mohammadi Автор вопроса
s0m31 🇷🇺
Thanks, but can you send us request with real fiel...

sure inline keyboard query OR answercallback qurey?

Похожие вопросы

Карта сайта