Interactive Button-based Telegram Session Resume UI Improvements - #33702
Closed
indigokarasu wants to merge 3 commits into
Closed
Interactive Button-based Telegram Session Resume UI Improvements#33702indigokarasu wants to merge 3 commits into
indigokarasu wants to merge 3 commits into
Conversation
…parse errors Telegram's HTML parser chokes on common characters like '.' and '-' in session titles (e.g. 'MCP Server', 'api-keys'). Switch from ParseMode.HTML to plain text with no parse mode. Use numbered list with indented previews. Also re-applies changes from feat/telegram-resume-button-ui which was lost during a repo rebase.
- Button title truncated to ~40 chars (was 18) to use full mobile width - disable_web_page_preview=True to suppress link previews in body text
- 13 tests covering interception, button UI, callback handling, auth, and session listing - Tests verify: /resume with no args triggers button UI, /resume with args falls through, keyboard has correct buttons, labels are truncated, previews included, fallback messages, unauthorized users denied, callback routing, and get_resume_sessions behavior
indigokarasu
force-pushed
the
feat/telegram-resume-ui-v2
branch
from
May 28, 2026 06:39
77e92a1 to
0d5914b
Compare
This was referenced Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the plain-text /resume list on Telegram with an inline keyboard showing the last 12 non-cron named sessions sorted by recency.
Changes
UX
Test Results