From review of the Telegram code card:
- Cards were keyed by (chat, author), so an answered card's timer ended the
author's next card early and two cards overwrote each other. Each card is
now its own record keyed by (chat, card message id), and its timer retires
only that card.
- A reply to a card whose request had ended fell through to the normal text
path, so a late code reached the agent as chat text. Ended cards are
remembered (bounded), and a reply to one is deleted and never becomes a turn.
- delete_message() returns True for a delete queued behind a long flood wait,
which skipped the "please delete it yourself" warning even if the queued
delete later failed. The interception uses delete_message_confirmed().
- In a group, ForceReply(selective) opens the reply field only for users the
card mentions, so the card now carries an invisible mention of the author.