Commit Graph

7 Commits

Author SHA1 Message Date
Lonami Exo
f8264abb5a Clean-up client's __init__ and remove entity cache
Entity cache uses are removed. It was a source of ever-growing memory
usage that has to be reworked. This affects everything that tried to
obtain an input entity, input sender or input chat (such as the
SenderGetter or calls to _get_entity_pair). Input entities need to be
reworked in any case.

Its removal also affects the automatic cache of any raw API request.

Raise last error parameter is removed, and its behaviour made default.

The connection type parameter has been removed, since users really have
no need to change it.

A few more attributes have been made private, since users should not
mess with those.
2022-01-18 12:56:17 +01:00
Lonami Exo
431a9309e3 Remove mark from peer_id 2021-09-18 16:29:45 +02:00
Lonami Exo
ba8cdc80da Officially remove resolve_invite_link 2021-09-18 13:10:31 +02:00
Lonami Exo
9af8ec8cce Officially remove bot_file_id support 2021-09-18 13:06:52 +02:00
Lonami Exo
f222dc167e Fix imports 2021-09-12 13:27:13 +02:00
Lonami Exo
d48649602b Replace most raw API usage with new location 2021-09-12 12:16:02 +02:00
Lonami Exo
a901d43a6d Rename more subpackages and modules 2021-09-11 17:48:23 +02:00