Commit Graph

2377 Commits

Author SHA1 Message Date
Dan
6cf6d49634 Update utils to accommodate changes on get_messages 2018-10-28 17:24:05 +01:00
Dan
daee188fa5 Update get_messages to accept the new reply_to_message_ids argument 2018-10-28 17:23:30 +01:00
Dan
39636f2843 Update get_messages signature 2018-10-28 17:18:00 +01:00
Dan
4fd93a790f Small fixes and rewords 2018-10-28 15:27:49 +01:00
Dan
0a946033c3 Move optional field down after required fields 2018-10-28 15:27:20 +01:00
Dan
11b7c3b52a Remove unused game field from Message 2018-10-28 15:26:46 +01:00
Dan
c9462911cf Fix Filters.command ignoring commands with empty prefixes 2018-10-25 14:47:18 +02:00
Dan
aa471f2fbd Merge branch 'develop' into asyncio 2018-10-23 16:04:16 +02:00
Dan
74d07c6a28
Use strict dependency versions 2018-10-23 15:55:35 +02:00
Dan
6ade4030b2 Merge branch 'develop' into asyncio 2018-10-23 15:50:15 +02:00
Dan
99bdaae365 Allow nested folders for smart plugins 2018-10-23 15:43:49 +02:00
Dan
9e3cf9edf7 Use "with" context manager in examples 2018-10-22 20:23:50 +02:00
Dan
66bcc7cde4 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/methods/chats/kick_chat_member.py
2018-10-21 15:56:02 +02:00
Dan
7d4dfa6d12 Merge branch 'delete-kicked-message' into develop 2018-10-21 09:51:12 +02:00
Alexandr
361efb5889 Merge remote-tracking branch 'origin/add-filesize-limit-error' into add-filesize-limit-error 2018-10-21 14:44:55 +07:00
Dan
a0780d793d Apply code review suggestions 2018-10-21 14:44:29 +07:00
Dan
bc08ba86d9 Update emojis 2018-10-21 09:43:57 +02:00
Dan
2febb53d72 Update SmartPlugins.rst page 2018-10-21 09:43:35 +02:00
Dan
35e3471961 The restriction_reason field is not always available 2018-10-21 09:43:22 +02:00
Dan
1fe46610cd Make plugins disabled by default
Users need to explicitly set plugins_dir parameter
2018-10-21 09:42:22 +02:00
Dan
fa5759b07b
Thanks, that really looks better
Co-Authored-By: TolichP <sanekprivor@yandex.ru>
2018-10-21 14:41:30 +07:00
Dan
b12c87f50a Make kick_chat_member return the "user kicked" message 2018-10-21 09:40:49 +02:00
Alexandr
ee47c21eed Add file size limit error 2018-10-19 23:39:29 +07:00
Dan
3f0a355f7e Further optimize and simplify the Dispatcher 2018-10-19 11:54:27 +02:00
Dan
09e0345868 Small dispatcher clean ups 2018-10-18 21:18:22 +02:00
Dan
077e7c00d5 Rename Plugins.rst to SmartPlugins.rst 2018-10-18 13:04:57 +02:00
Dan
89362ef684 Tiny fix to reflect other docstrings 2018-10-18 11:48:55 +02:00
Dan
ae06635d88 Update Plugins.rst 2018-10-18 11:47:04 +02:00
Dan
e88972a8f6 Add restriction_reason to User and Chat types. Closes #144 2018-10-18 11:10:37 +02:00
Dan
38ff950d01 Remove useless #noinspection 2018-10-17 21:00:14 +02:00
Dan
426cdbbcb8 Don't make use of Update objects when dispatching updates
The Update type is used nowhere, adds costly abstraction and makes the
code uglier. If I ever need it again (unlikely) I can just revert this.
2018-10-17 20:59:33 +02:00
Dan
a315c30336 Optimize dispatcher.py code 2018-10-17 20:37:53 +02:00
Dan
d580a78787 Update Installation page
Hint about asyncio
2018-10-17 01:07:33 +02:00
Dan
5d4e4a4842 Add "fast" keyword as extra requirement
To be used instead of "tgcrypto"
2018-10-17 01:02:33 +02:00
Dan
09605478ef Merge remote-tracking branch 'origin/develop' into develop 2018-10-16 15:25:14 +02:00
Dan
41180fd22a Update max caption length 2018-10-16 15:24:54 +02:00
Dan
9a47370260
Update README.rst 2018-10-16 15:13:30 +02:00
Dan
3d8a386e25 Merge branch 'develop' into asyncio 2018-10-16 12:58:22 +02:00
Dan
c8604e8e2c Update on_user_status decorator 2018-10-16 12:58:11 +02:00
Dan
418eb0b01a Fix asyncio dispatcher 2018-10-16 12:38:50 +02:00
Dan
f45e3377a9 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/client.py
#	pyrogram/client/methods/users/delete_user_profile_photos.py
2018-10-16 12:20:46 +02:00
Dan
2ae1d522f3 Add on_user_status decorator to docs 2018-10-16 12:17:39 +02:00
Dan
a163c2b4e9 Add UserStatusHandler in docs 2018-10-16 12:16:40 +02:00
Dan
b34aca0c6f Fix wrong method names in docs 2018-10-16 12:15:31 +02:00
Dan
9e159a3f50 Merge branch 'plugins' into develop 2018-10-16 12:12:21 +02:00
Dan
8a81bd1221 Merge branch 'user-status' into develop 2018-10-16 12:07:53 +02:00
Dan
c7a38655c4 Merge branch 'update-profile-photo' into develop 2018-10-16 11:59:17 +02:00
Dan
cc7db735b0
Merge pull request #137 from pyrogram/multiple-command-prefixes
Allow multiple command prefixes in a single filter
2018-10-16 11:53:59 +02:00
Dan
841141077f Add better examples to Filters.command 2018-10-16 11:53:05 +02:00
Dan
1f5f339f6f Reflect changes to docs 2018-10-16 11:49:12 +02:00