Dan
|
1be144288c
|
Add a proxy to the Client instance inside CallbackQuery objects
|
2018-10-09 14:07:01 +02:00 |
|
Dan
|
0162cf48c1
|
Don't break groups in case one handler raises an unhandled exception
The error is logged instead. Fixes #126
|
2018-10-01 09:55:09 +02:00 |
|
Vitali
|
e6c6bd839c
|
Add Handler to deleted messages update
|
2018-06-19 11:18:12 -03:00 |
|
Dan
|
682a3ae948
|
Dispatch inline bot callback queries
|
2018-06-06 12:29:21 +02:00 |
|
Dan
|
93218a6ed7
|
Remove handlers lock
|
2018-05-26 18:04:17 +02:00 |
|
Dan
|
cc9aeb290a
|
Don't process empty messages
|
2018-05-09 21:40:24 +02:00 |
|
Dan
|
a1c3e40800
|
Make parse_messages accept a list of messages
|
2018-05-09 19:29:23 +02:00 |
|
Dan
|
8454d438be
|
Refactor the project by using Mixin classes
This will cut client.py down from ~4k to ~1k SLOC and also
makes the whole project tidier and more organized.
|
2018-05-07 14:30:55 +02:00 |
|
Dan
|
e2224054d2
|
Merge branch 'remove-handler-and-locks' of https://github.com/JosXa/pyrogram into JosXa-remove-handler-and-locks
# Conflicts:
# pyrogram/client/dispatcher/dispatcher.py
|
2018-04-30 10:30:34 +02:00 |
|
JosXa
|
bb607e56be
|
Added locks for modifying and iterating handlers
Added `remove_handler` method
Made `add_handler` return a (handler, group) tuple
|
2018-04-30 00:15:24 +02:00 |
|
Dan
|
33c417942c
|
Clear thread lists when stopping. Related to #62
|
2018-04-29 20:20:34 +02:00 |
|
Dan
|
b8996b1147
|
Remove chat field for now, it can be accessed via message.chat
|
2018-04-29 17:29:48 +02:00 |
|
Dan
|
9c7935702f
|
Add callback query support
|
2018-04-28 23:48:38 +02:00 |
|
Dan
|
489bd4ac38
|
Remove message_parser, move all functions in utils
|
2018-04-28 09:38:07 +02:00 |
|
Dan
|
6e78935857
|
Accommodate the new types
|
2018-04-24 16:08:33 +02:00 |
|
Dan
|
0dd5ebef80
|
Fix raw update handler throwing errors
|
2018-04-14 16:59:34 +02:00 |
|
Dan
|
17259d1b7b
|
Join threads before closing the connection
|
2018-04-13 19:09:00 +02:00 |
|
Dan
|
472ed8e355
|
Document the new features
|
2018-04-11 03:16:48 +02:00 |
|
Dan
|
c33c7c76fd
|
Rework dispatcher
|
2018-04-10 14:52:31 +02:00 |
|
Dan
|
fb4e98b0b5
|
Evaluate filters before dispatching messages
|
2018-04-09 23:35:51 +02:00 |
|
Dan
|
578047dbec
|
Move message_parser outside
|
2018-04-08 15:36:22 +02:00 |
|
Dan
|
28ffff57e1
|
Move file_id codec outside
|
2018-04-08 13:23:26 +02:00 |
|
Dan
|
1a7ab62ed9
|
Add handler for raw mtproto updates
|
2018-04-08 13:20:31 +02:00 |
|
Dan
|
8e8613bc0f
|
Refactor Dispatcher
|
2018-04-08 12:43:47 +02:00 |
|
Dan
|
ee2d66b416
|
Only keep MessageHandler
|
2018-04-07 23:34:28 +02:00 |
|
Dan
|
ede627de52
|
Directly pass the message instead of the update
|
2018-04-06 20:35:38 +02:00 |
|
Dan
|
2dc57002d6
|
Add Dispatcher
|
2018-04-06 18:36:29 +02:00 |
|