Skip to content

Unread messages and mark as read #25

Closed

Description

@neoromantic

chats_cache already stores unread_count, but no command lists unread chats or messages, or marks them read. "Summarize my unread messages" is a headline workflow for agents; telegram-mcp covers it with mark-as-read and unread export tools.

Proposed:

  • tg chats list --unread
  • tg messages unread [--chat <peer>] [--limit N]
  • tg messages read --chat <peer> [--max-id <id>], which calls messages.readHistory or channels.readHistory.

Done when the commands work for private chats, groups and channels, update the cached counts, and have e2e tests.

Activity

  1. added
    enhancement
    on Oct 21, 2026
  2. added a commit that references this issue on Nov 17, 2026
    5d23b93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions