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

Messages local cache #4

Open
luckyycode opened this issue Jul 15, 2022 · 1 comment
Open

Messages local cache #4

luckyycode opened this issue Jul 15, 2022 · 1 comment
Labels
feature-request New feature or request

Comments

@luckyycode
Copy link

I think it would be nice to have a local messages/users cache so no excess count of telegram api calls will be made
Somehow related to #2 I think, so one could choose which cache provider they would like to use

@Aquathing
Copy link
Collaborator

Aquathing commented Jul 15, 2022

A cache of peers is already available and calls to GetUsers/GetFullUser GetChannels/GetFullChannel and GetChats/GetFullChat do not cause network requests if not in rare cases (cache expired/CatraProto was updated and the layer version changed).

The suggestion about local messages cache is very welcome though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants