sochix / TLSharp

Telegram client library implemented in C#
1.01k stars 380 forks source link

Cached entities #998

Open immmdreza opened 3 years ago

immmdreza commented 3 years ago

Can you add a caching system to automatically cache entities (like users, groups, channels) that account saw already Cache their id and access hash and more if needed (in session file). So the methods can be much more simple (only with id since access hash cached for that id)