Handle telegram delete events

Open
#725 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
backend

Research direction

Start by locating the conversation persistence code and the handler for Telegram updates, then trace how message state is stored and updated. Use the Telegram updateDeleteMessages event as the reference; done means deleted messages are removed from persisted state and the relevant tests cover the behavior.

Written by the indexing model from the issue text.

Description

enhancement
Problem Statement

Right now if you delete a message from the conversation the persisted state is not updated

Proposed Solution

listen for updateDeleteMessages event to remove deleted messages from persisted state

Alternatives Considered

No response

Use Case

Priority

Important

Contribution
  • I am willing to help implement this feature
Additional Context

Reference: https://core.telegram.org/api/updates#message-id-sequences

Dominant language
TypeScript
Stars
2.5k
Forks
355
Avg merge
2d 15h
Merged PRs (30d)
42

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vercel/chat

All issues in vercel/chat

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.