Client icon indicating copy to clipboard operation
Client copied to clipboard

Messages local cache

Open luckyycode opened this issue 3 years ago • 1 comments

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 https://github.com/CatraProto/Client/issues/2 I think, so one could choose which cache provider they would like to use

luckyycode avatar Jul 15 '22 14:07 luckyycode

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.

Aquathing avatar Jul 15 '22 14:07 Aquathing