Skip to content

Edit, delete, forward and pin messages #23

Open

Description

@neoromantic

These need raw tg api calls today (messages.editMessage, messages.deleteMessages, messages.forwardMessages, messages.updatePinnedMessage), and the caller has to build the TL arguments and input peers. telegram-mcp has a tool for each.

Proposed CLI-only commands, all with --account:

  • tg messages edit --chat <peer> --id <id> --message <text>
  • tg messages delete --chat <peer> --id <id>... [--revoke]
  • tg messages forward --from <peer> --to <peer> --id <id>...
  • tg messages pin|unpin --chat <peer> --id <id>

A successful call updates the cache, as #19 does for send.

Done when each command has mocked e2e tests and a step in the live smoke suite (on Saved Messages).

Activity

  1. added
    enhancement
    on Oct 21, 2026
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