Devesh Pal
391fbab674
Implement Sticker Choosing Action ( #3144 )
2021-09-01 15:08:58 +02:00
Yusuf_M_Thon_iD
022c1db33f
Update ChatAction to include MessageActionGameScore ( #1651 )
2021-08-30 17:33:46 +02:00
Lonami Exo
49713b2784
Wrap requests in InvokeWithoutUpdatesRequest if no event handlers
...
Closes #1270 .
2021-08-22 13:38:54 +02:00
Lonami Exo
bc6bcd31ad
Fix InlineQuery.event.geo returning None
...
Closes #3136 .
2021-08-22 13:09:57 +02:00
Lonami Exo
bdc324760d
Move message.out patching in self-chat to Message
...
May fix #1684 .
2021-03-14 11:16:59 +01: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
0d05d0d8f5
Update message to include ttl_period
2021-02-23 19:42:09 +01:00
Lonami Exo
3df4807fb9
Fix ChatAction.user_left was considered as user_kicked
...
Closes #1660 .
2021-01-02 12:24:32 +01:00
Lonami Exo
2439404ad1
Include service messages for new pins in ChatAction again
2020-11-28 16:49:39 +01:00
Alekseev Svyatoslav
c4cbead25b
Remove using deprecated as_album kwarg ( #1621 )
2020-11-07 22:19:50 +01:00
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