Skip to content

Create a method that can compare stored messages in the DB and check if they have been edited #2

@pushshift

Description

@pushshift

Telegram allows users to edit their messages. Determining if a message was edited from an original message is relatively easy since there is a field in the message object that signifies if a message was edited.

However, there needs to be logic in place to compare a message that has already been edited to detect additional future edits to that same message. Within the database, the original message will be stored along with all edited versions.

For example, if a message is an original message (unedited), the edited field in the message object can be examined to see if a message has been edited. If the message is then later edited again, further logic needs to be introduced to detect if the message was edited more than once.

All edits to a message will be stored in the database as they are detected during rescans, etc.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions