Lonami Exo
9e3cb8180b
Update ChatAction to handle new pin updates
2020-10-31 11:21:38 +01:00
Lonami Exo
d83c154f8d
Partial update to layer 120
2020-10-30 20:06:59 +01:00
Lonami Exo
312dac90a3
Improve inline result documentation with more examples
2020-10-15 10:42:40 +02:00
Lonami Exo
e28fbc6678
Fix ChatAction check for self-user joining a chat
2020-10-07 10:40:34 +02:00
Lonami Exo
20606b3a71
Fix from_users filter not accounting for None from_id
2020-10-05 14:01:50 +02:00
Lonami Exo
e24c49f5be
Fix patching of message.out for self-chat
2020-10-02 10:22:38 +02:00
Lonami Exo
53920a1568
Remove handling chat peer discrepancy in NewMessage
2020-10-02 10:04:51 +02:00
Lonami Exo
5c93ea8019
Fix from_id/sender_id value on message updates
2020-10-01 21:22:27 +02:00
Lonami Exo
d5e4398ace
Adapt the rest of the library to layer 119
2020-10-01 12:22:55 +02:00
Lonami Exo
1c3e7dda01
Avoid explicitly passing the loop to asyncio
...
This behaviour is deprecated and will be removed in future versions
of Python. Technically, it could be considered a bug (invalid usage
causing different behaviour from the expected one), and in practice
it should not break much code (because .get_event_loop() would likely
be the same event loop anyway).
2020-07-25 18:39:35 +02:00
Lonami Exo
ab594ed0cb
Remove unused imports and variables
2020-07-04 13:29:43 +02:00
Lonami Exo
4b933069f1
Add hacks to properly handle events.Album from other DCs
...
Fixes #1479 .
2020-06-06 21:01:02 +02:00
penn5
8557effe13
Fix docs in InlineQuery ( #1425 )
2020-06-06 13:47:46 +02:00
Lonami Exo
29eb90e503
Fix get_pinned_message in Chat
...
Closes #1458 .
2020-05-17 09:35:44 +02:00
JuniorJPDJ
634bc3a8bd
Allow event's func to be async ( #1461 )
...
Fixes #1344 .
2020-05-16 09:58:37 +02:00
Lonami Exo
c43e2a0a3a
Return produced service message with pin_message
...
Fixes #1394 .
2020-04-29 10:29:14 +02:00
Lonami Exo
7f3aa43ad4
Rely on types.UpdateChatPinnedMessage for chat unpins
...
Fixes #1405 , probably.
2020-04-27 21:16:45 +02:00
Lonami Exo
eb58e60dd1
Fix string formatting on events.Raw with bad input param
2020-04-26 13:42:16 +02:00
Lonami Exo
e3d8109110
Fix a doc typo and update projects using the lib
2020-03-11 10:02:19 +01:00
Lonami Exo
1ec38aa5b2
Update and clarify some docs
...
cc #1388 , #1396
2020-02-28 11:50:16 +01:00
Lonami Exo
9a86447b6e
Fix get(_input)_users in ChatAction with no service msg
2020-02-24 13:07:13 +01:00
Lonami Exo
3a6c955c90
Add examples to all events
2020-02-20 10:18:26 +01:00
Lonami Exo
a2fc7dca79
Handle users=None properly in ChatAction
2020-01-21 10:39:51 +01:00
Lonami Exo
94ff5a8641
Handle ChannelForbidden on leaving ChatAction
2019-12-27 10:21:37 +01:00
Lonami Exo
7e6f12daa6
Fix ChatAction join/leave in channels, bump v1.10.9
2019-12-11 12:42:51 +01:00
Lonami Exo
57dd0827f4
Slight improvement on ChatAction's docs
2019-11-10 14:59:01 +01:00
penn5
8d5a7c6ffb
Remove debugging print ( #1276 )
2019-09-21 17:54:45 +02:00
Lonami Exo
47956ddbca
Fix events.Album and minor docs nit, bump to v1.10.1
2019-09-09 19:21:03 +02: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
painor
2adc746143
Fix CallbackQuery pattern= ( #1230 )
2019-07-10 17:37:36 +02:00
Lonami Exo
8e36bb4c4d
Link Python keywords with Python's documentation
2019-07-06 12:11:00 +02:00
painor
42d5c0fe6d
Add pattern parameter to events.CallbackQuery ( #1212 )
2019-07-05 21:03:07 +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
7285b156f4
Create events.Album ( #1216 )
2019-06-30 16:34:34 +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
83789aaa42
Return None from ChatGetter when there isn't enough info
2019-06-19 11:46:03 +02:00
Lonami Exo
51de0bd2da
Update documentation with intersphinx and better summaries
2019-06-11 11:09:22 +02:00
Lonami Exo
e47f3ec1d6
Clarify some aspects of the documentation
2019-06-01 16:28:20 +02:00
Lonami Exo
80f19bd1f0
Point to the new domains
2019-05-22 11:29:46 +02:00
Terrance
0946a7902f
Fix super() initialisation call for EventCommon ( #1182 )
2019-05-12 23:29:01 +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
c6691dc6a8
Update the reference with even more types and other docs
2019-05-07 21:25:55 +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
22124b5ced
Refactor code to fetch missing entities once again
...
This is another attempt at reducing CPU usage similar to:
1b6b4a57d9
In addition it simplifies some of the code and opens up new
ideas for the state cache as well.
2019-05-01 14:02:27 +02:00
Lonami Exo
1b6b4a57d9
Attempt at reducing CPU usage after c902428
...
This attempt removes the forced `await` call, which could
be causing that extra usage. Some more boilerplate is needed.
2019-04-23 20:17:43 +02:00
Lonami Exo
4e783728f9
Don't catch up on reconnect and fix typo
...
The feature is not ready yet.
2019-04-22 16:56:32 +02:00