Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement --only-new option #5

Open
abul4fia opened this issue Feb 22, 2023 · 0 comments
Open

Implement --only-new option #5

abul4fia opened this issue Feb 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@abul4fia
Copy link
Owner

abul4fia commented Feb 22, 2023

This option downloads only messages with a timestamp more recent than the last one downloaded.

Implementing this feature should not be difficult. Teletolo can store the timestamp of the last successful run in the filesystem. The file should contain a list of key-value pairs, where the key is the ID of a channel and the value is the timestamp of the last access to that channel. This would allow for a nice integration with feature #4. However, this is also required even if that feature is not implemented, since each time Teletolo is run, it can be used to pull messages from different channels.

@abul4fia abul4fia added the enhancement New feature or request label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant