Commit Graph

2190 Commits

Author SHA1 Message Date
Dan
ff7ee4678a Catch possible MESSAGE_IDS_EMPTY errors 2018-11-04 17:25:39 +01:00
Dan
b1e35ef9be Add MESSAGE_IDS_EMPTY rpc error 2018-11-04 17:24:43 +01:00
Dan
966926d383 Remove unneeded FloodWait check 2018-11-04 16:53:23 +01:00
Dan
46e19c395c Don't encode callback data when sending inline buttons 2018-11-04 11:36:10 +01:00
Dan
af937152a1 Don't decode inline buttons callback data
Clients are able to set any value as plain bytes, this means UTF-8
decoding could fail.
2018-11-04 09:36:58 +01:00
Dan
30c0086fde Fix missing total_count for ChatMembers in channels/supergroups 2018-11-03 22:01:26 +01:00
Dan
96af2ebcf2 Fix getattr failing for ChannelForbidden objects 2018-11-03 17:04:04 +01:00
Dan
5917fffb59 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
2018-11-03 14:47:48 +01:00
Dan
a1f5267399 Merge branch 'develop' 2018-11-03 14:46:59 +01:00
Dan
106fc0f458 Update to v0.9.0 2018-11-03 14:35:26 +01:00
Dan
a48e0ce33a Update Installation page 2018-11-03 14:24:02 +01:00
Dan
caea507f05 Remove undoc-members for Filters doc page 2018-11-03 14:23:48 +01:00
Dan
7db0c6fe79
Merge pull request #152 from Furoin/develop
added Filters.dan
2018-11-03 13:13:40 +01:00
Furoin
bc703ae6d7 added Filters.dan 2018-11-03 14:57:57 +03:00
Dan
bc4c787599 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
#	pyrogram/client/types/messages_and_media/message.py
#	pyrogram/connection/transport/tcp/tcp.py
2018-11-03 12:04:31 +01:00
Dan
c006ba5b30
Merge pull request #146 from TolichP/add-filesize-limit-error
Add file size limit error
2018-11-03 11:11:06 +01:00
Dan
09563067c7
Add a check for 0 B file sizes 2018-11-03 11:10:43 +01:00
Dan
74754f288a Update SmartPlugins page 2018-11-03 11:00:26 +01:00
Dan
45129658b0 Revisit docstrings 2018-11-03 10:49:11 +01:00
Dan
0c76774283 Reformat code 2018-11-02 10:26:59 +01:00
Dan
27d10b04c0 Update dev version 2018-11-02 10:23:41 +01:00
Dan
2e53129c0c Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/ext/utils.py
#	pyrogram/client/methods/messages/get_messages.py
2018-10-28 19:53:45 +01:00
Dan
529ef143f0 Remove debugging piece of code 2018-10-28 19:52:54 +01:00
Dan
229b8df9cd Fix bad behaviours of get_messages 2018-10-28 17:44:24 +01:00
Dan
005c24e4bd Update get_messages docstrings 2018-10-28 17:24:37 +01:00
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