tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

Call getCallbackQueryAnswer and click on the inline keyboard #2470

Closed liaoxingquan closed 1 year ago

liaoxingquan commented 1 year ago

I called getCallbackQueryAnswer with the parameter next corresponding data (callbackQueryPayloadData), but how do I get the new result

liaoxingquan commented 1 year ago

1685890473070

like this , when i call getCallbackQueryAnswer about group button, and then, the message_id is Invalid, how can i get the new valid message_id

liaoxingquan commented 1 year ago

has someone see my question ? or understand my question ? I am in a hurry !

levlam commented 1 year ago

getCallbackQueryAnswer returns CallbackQueryAnswer. If you receive the error message_id is Invalid, then you pass a completely wrong message identifier to the request, which definitely wasn't received from TDLib.