Why it matters
Inline buttons persist on old messages so callback_data must stay backward compatible.
Practical steps
- Version callback_data prefixes (v1:)
- Stay under Telegram's callback_data size limit
- Always call answerCallbackQuery
- Disable or edit buttons after one-shot actions
- Reject unknown versions without crashing
Watch out for
- Copy-pasting outdated snippets for telegram inline keyboards without re-reading current official docs.
- Shipping telegram inline keyboards to production without a staging rehearsal and a documented rollback.