Handle telegram delete events
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 314
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 63
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100