Phase 9: Telegram Stories & Emoji Status CLI
- Author:
Rénich Bon Ćirić
- Status:
Completed
- Type:
Project Roadmap Specification
- Date:
2026-08-24
Overview
Phase 9 integrates full Telegram Story and Custom Emoji Status capabilities into grm, backed by an updated TDLib (>= 1.8.20) build and seamless system fallback architecture.
Delivered Scope
Build & Fallback Architecture:
Prepend
$HOME/.localto CMake prefix and PKG_CONFIG_PATH search hierarchies.Automated
make tdlib-bootstraptarget to build upstream TDLib into$HOME/.local.Zero-config automatic fallback to system package when Fedora updates
tdlib-devel.
Rich Telegram Stories Subcommand Suite (
grm story):grm story post: Photo/video story publishing with Markdown/URL captions, interactive sticker overlays (clickable links via-l|--linkand reaction buttons via-r|--reaction), privacy settings (everyone,contacts,close_friends), duration periods (6h, 12h, 24h, 48h), profile pinning, and content protection.grm story edit: Modifies media content, caption, clickable links, or reaction stickers of published stories.grm story info: Detailed metadata inspection, interaction counters, capabilities, and sticker attachments.grm story viewers: Interaction analytics, viewer histories, and reaction breakdowns.grm story pin/unpin: Profile and chat page permanent “Posts” tab pinning management.grm story react: Story emoji reaction management.grm story privacy: Dynamic visibility updates for active stories.grm story stealth: 25-minute Telegram Premium stealth mode.grm story ls: Multi-source story listing across active, pinned profile posts, and archived stories.grm story delete: Targeted story removal.
Custom Emoji Status Subcommand Suite (
grm status):grm status ls: Custom emoji status discovery and search across default, recent, and custom sticker packs.grm status set: Custom emoji badge assignment with human duration parsing (e.g.30m,1h,2d).grm status clear: Badge removal.Chat-scoped status support for boosted supergroups and channels (
--chat <id>).
Testing & Tooling:
Unit test suites:
tests/test_story.cppandtests/test_status.cpp.100% test pass rate across all 20 CTest suites under AddressSanitizer, UBSan, and LeakSanitizer.
Bash completion and man page documentation updates.