pub async fn get_callback_query_answer(
chat_id: i64,
message_id: i64,
payload: CallbackQueryPayload,
client_id: i32,
) -> Result<CallbackQueryAnswer, Error>
Expand description
Sends a callback query to a bot and returns an answer. Returns an error with code 502 if the bot fails to answer the query before the query timeout expires
ยงArguments
chat_id
- Identifier of the chat with the messagemessage_id
- Identifier of the message from which the query originatedpayload
- Query payloadclient_id
- The client id to send the request to