Commit Graph

8 Commits

Author SHA1 Message Date
Lonami Exo
6d293b440c Update code using get_input_entity 2022-03-02 13:00:41 +01:00
Lonami Exo
483e2aadf1 Begin updating the way updates are built 2022-02-17 12:40:38 +01:00
Lonami Exo
9726169a8c Begin unification of event builders and events 2022-01-28 21:07:53 +01:00
Devesh Pal
539e3cb808
Add new features from new layer (#3676)
Updated some documentation regarding raw API.
get_permissions has been adjusted.
Expose more parameters when sending messages.
Update chat action.
Support sending spoilers.
Update buttons.
2022-01-24 13:15:02 +01:00
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
Hackintosh 5
8de375323e Cleanup events code 2021-12-11 21:46:23 +01:00
penn5
8d1379f3d4 Remove _finish_init from chataction.py
This method was removed in 334a847de7
2021-12-11 21:46:23 +01:00
Lonami Exo
1762f554df Make events subpackage private 2021-09-24 21:11:50 +02:00