go-telegram-bot-api / telegram-bot-api

Golang bindings for the Telegram Bot API
https://go-telegram-bot-api.dev
MIT License
5.62k stars 868 forks source link

Error #579

Open Akhilesh53 opened 1 year ago

Akhilesh53 commented 1 year ago

Getting this error

Endpoint: answerCallbackQuery, response: {"ok":false,"error_code":400,"description":"Bad Request: query is too old and response timeout expired or query ID is invalid"} panic: Bad Request: query is too old and response timeout expired or query ID is invalid

temamagic commented 1 year ago

It has nothing to do with this library. Panic is triggered in your code, not in the library. Also look at the description of the response, what is the reason for the error, it is written quite clearly there