Devesh Pal
|
391fbab674
|
Implement Sticker Choosing Action (#3144)
|
2021-09-01 15:08:58 +02:00 |
|
Lonami Exo
|
6f2f8ae69f
|
Remove chat hack from events.UserUpdate
Turns out there was a specific update for channels.
|
2021-03-14 11:03:03 +01:00 |
|
Lonami Exo
|
8f46f704b1
|
Update to layer 125
Closes #1728, should close #1724.
|
2021-03-14 10:58:33 +01:00 |
|
Lonami Exo
|
3a6c955c90
|
Add examples to all events
|
2020-02-20 10:18:26 +01:00 |
|
Lonami Exo
|
45d82f2a85
|
Fix issues with to/from ID in private chats with multiple clients
This should address #1218.
|
2019-08-07 00:46:19 +02:00 |
|
Lonami Exo
|
3f19f6fd50
|
Return None in UserUpdate if information is unknown
|
2019-07-04 10:34:48 +02:00 |
|
Lonami Exo
|
99b15b916c
|
Turn UserUpdate attributes into properties
This aids discoverability, makes them lazily-loaded,
and in general is more consistent and easier to extend.
|
2019-07-04 10:17:40 +02:00 |
|
Lonami Exo
|
a7a7c4add2
|
Pass all Updates when building events
|
2019-06-30 16:34:34 +02:00 |
|
Lonami Exo
|
aa2b3daccc
|
Factor out setting entities to events
|
2019-06-30 16:34:34 +02:00 |
|
Lonami Exo
|
51de0bd2da
|
Update documentation with intersphinx and better summaries
|
2019-06-11 11:09:22 +02:00 |
|
Lonami Exo
|
9730894a07
|
Call Chat/Sender Getter init methods
|
2019-05-12 14:00:12 +02:00 |
|
Lonami Exo
|
0a3d6106f0
|
Completely overhaul the documentation
|
2019-05-09 12:50:09 +02:00 |
|
Lonami Exo
|
3a1496c205
|
Reuse code for _get_entity_pair
Less error-prone, improved the function flow for all callers,
and removed some duplicate work.
|
2019-05-01 17:52:32 +02:00 |
|
Lonami Exo
|
6d004601d0
|
Inline the old _load_entities code
|
2019-05-01 17:07:12 +02:00 |
|
Lonami Exo
|
39d9531483
|
Implement _load_entities for all events
Follow-up of c902428af1
This means that now input_chat (and even chat_id) and
similar can be safely used, without needing get_input
|
2019-03-28 10:47:15 +01:00 |
|
Lonami Exo
|
8abc7ade22
|
Use the new in-memory entity cache
This should avoid a disk access every time an input entity
is needed, which is very often. Another step for #1141.
|
2019-03-26 11:39:25 +01:00 |
|
Lonami Exo
|
facf3ae582
|
Fix-up user_id for UserUpdate
|
2019-03-26 09:18:18 +01:00 |
|
Lonami Exo
|
0239852cc7
|
Fix UserUpdate in chats
|
2019-03-26 09:14:55 +01:00 |
|
Lonami Exo
|
9db9db1ade
|
Fix UserUpdate not working for typing updates
The code to deal with the right chat action was there,
but the updates that could trigger that code path were
never checked.
|
2019-03-26 08:57:16 +01:00 |
|
Lonami Exo
|
ec0aa65fe1
|
An user -> a user
|
2018-09-22 19:18:42 +02:00 |
|
Lonami Exo
|
7b22c72c3e
|
Use UTC timezone for events.UserUpdate
|
2018-07-24 20:38:38 +02:00 |
|
Lonami Exo
|
7f78d7ed2f
|
Use classmethod for all Event.build
|
2018-07-19 01:47:32 +02:00 |
|
Lonami Exo
|
1d0fd6801d
|
Build events only once per update
|
2018-07-11 11:22:43 +02:00 |
|
Lonami Exo
|
72835dfb44
|
Update to v1.0
|
2018-06-27 13:41:20 +02:00 |
|
Lonami Exo
|
efc9f4c414
|
Get rid of all remaining async properties
|
2018-06-25 11:03:20 +02:00 |
|
Lonami Exo
|
908dfa148b
|
Revisit codebase to add missing async/await
|
2018-06-14 17:09:20 +02:00 |
|
Lonami Exo
|
93b5909be5
|
Add chat_id-like convenience properties to the events
|
2018-04-08 14:24:01 +02:00 |
|
Lonami Exo
|
b7c3f80679
|
Split events into separate files
|
2018-04-05 20:14:22 +02:00 |
|