21 lines
546 B
Markdown
21 lines
546 B
Markdown
# Telegram Callback Handler
|
|
|
|
## Responsibility
|
|
|
|
Receive Telegram callback queries, parse reply-end button clicks, normalize them, and hand them off to the reusable state/policy layer.
|
|
|
|
## V1 actions
|
|
|
|
- parse `rec:continue`
|
|
- parse `rec:stop`
|
|
- map into normalized callback event
|
|
- write updated state
|
|
- update original message buttons to show resolved choice
|
|
|
|
## V1 UI behavior after click
|
|
|
|
Suggested resolved button state:
|
|
|
|
- selected option gains a clear marker
|
|
- the message should not remain indefinitely clickable as if no decision happened
|