Commit Graph

3174 Commits

Author SHA1 Message Date
Dan
67a35f8c7e Handle get_history flood waits
It's likely to get triggered when using iter_history (every ~3k msgs)
2019-01-27 11:13:10 +01:00
Dan
52f2a2b17d Add TARGET to hold the enabled chats and more comments 2019-01-27 10:41:14 +01:00
Dan
69922e5cf9
Merge pull request #205 from bakatrouble/develop
Run generate for editable (develop) installs
2019-01-27 10:31:37 +01:00
bakatrouble
f376efd496
Run generate for editable installs 2019-01-27 12:07:19 +03:00
Dan
6c7a3316dd Merge branch 'develop' into asyncio 2019-01-26 16:15:38 +01:00
Dan
a8a6f53e2d Fix the configuration load process breaking in case of no plugins 2019-01-26 13:01:44 +01:00
Dan
e83012bfb8 Add missing await keywords 2019-01-25 10:24:04 +01:00
Dan
61e9762977 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/client.py
2019-01-25 10:22:56 +01:00
Dan
5e97cb3420 Update documentation index page 2019-01-25 09:43:56 +01:00
Dan
e4c8592616 Update ConfigurationFile.rst 2019-01-25 09:40:55 +01:00
Dan
c17bf3c64c Fix sphinx warnings 2019-01-25 09:40:37 +01:00
Dan
66ed6d53e3 Merge branch 'smart-plugins-enhancements' into develop 2019-01-25 09:22:06 +01:00
Dan
6d7d7f6c5e Add ConfigurationFile.rst 2019-01-25 09:21:21 +01:00
Dan
c8e8fe0cd7 Add Load/Unload Plugins at Runtime section in SmartPlugins.rst 2019-01-25 00:38:43 +01:00
Dan
d23e4079e4 Update docs index page 2019-01-24 20:03:14 +01:00
Dan
8a41075dc7
Update README.rst 2019-01-24 20:00:59 +01:00
Dan
68509638c1 Merge branch 'develop' into layer-93 2019-01-24 17:21:57 +01:00
Dan
44deabf399 Update iter_chat_members efficiency 2019-01-24 17:21:41 +01:00
Dan
56e7bc9962 Update kick*, promote*, restrict* and unban_chat_member methods
For Layer 93
2019-01-24 17:20:29 +01:00
Dan
e9b1730318 Update ChatMember to use the new ChatPermissions type 2019-01-24 17:05:15 +01:00
Dan
1472b8236d Add ChatPermissions type 2019-01-24 17:03:51 +01:00
Dan
e99f86b69f Update media thumbs parsing for L93 2019-01-21 18:45:52 +01:00
Dan
cb0b8ebeae Fix Chat sticker_set_name 2019-01-21 18:35:11 +01:00
Dan
f4b4496995 Update API schema to Layer 93 2019-01-21 18:34:28 +01:00
Dan
c0a5b0a2c3 Fix kicked members reporting "left" as status 2019-01-21 16:56:22 +01:00
Dan
b919ed8242 Add restricted_by attribute in ChatMember (#204) 2019-01-21 16:53:54 +01:00
Dan
f0c8f65e9d Add promoted_by attribute in ChatMember (#204) 2019-01-21 16:41:56 +01:00
Dan
16b7203ee9 Add invite_by attribute in ChatMember (#204) 2019-01-21 16:34:46 +01:00
Dan
a57ee7b333 Accommodate parsing of invited_by attribute of ChatMember (#204) 2019-01-21 16:33:33 +01:00
Dan
d6a1503344 Add "date" attribute to ChatMember (#204) 2019-01-21 15:38:36 +01:00
Dan
76d4e4f60e Fix "left" status not being parsed in ChatMember (#204) 2019-01-21 15:36:54 +01:00
Dan
8cfb6614d4 Rename TgCrypto title to Fast Crypto
More generic name.
Keep TgCrypto.rst in order not to break links
2019-01-17 15:25:49 +01:00
Dan
919894cd3f Update Smart Plugins docs 2019-01-17 15:21:50 +01:00
Dan
652b3f90bc Remove async from some method signatures. They are not asynchronous 2019-01-17 12:34:30 +01:00
Dan
d72754be1e Add missing await 2019-01-17 12:30:40 +01:00
Dan
be013de4d4 Fix plugins load via Client parameter 2019-01-16 20:25:48 +01:00
Dan
6ec3b12aeb Smart plugins enhancements 2019-01-16 15:54:48 +01:00
Dan
3d16a715ad Fix file using wrong line separator 2019-01-16 15:46:46 +01:00
Dan
5654721261 Merge branch 'develop' of https://github.com/pyrogram/pyrogram into develop 2019-01-16 15:40:43 +01:00
Dan
6df7788379 Enhance proxy settings
- Allow proxy settings to omit "enabled" key
- Allow setting proxy to None in order to disable it
2019-01-16 13:10:01 +01:00
Dan
63cb4b412e Fix PyCharm mess when merged develop into asyncio 2019-01-13 11:21:31 +01:00
Dan
4cf1208c96
Update media caption maximum length 2019-01-13 06:52:25 +01:00
Dan
9999c77e95 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/client.py
#	pyrogram/client/methods/messages/send_animation.py
#	pyrogram/client/methods/messages/send_audio.py
#	pyrogram/client/methods/messages/send_document.py
#	pyrogram/client/methods/messages/send_photo.py
#	pyrogram/client/methods/messages/send_sticker.py
#	pyrogram/client/methods/messages/send_video.py
#	pyrogram/client/methods/messages/send_video_note.py
#	pyrogram/client/methods/messages/send_voice.py
#	pyrogram/client/types/messages_and_media/message.py
2019-01-11 14:24:15 +01:00
Dan
2e94926d4d Add stop_transmission to docs 2019-01-11 14:20:01 +01:00
Dan
4e02cd23a8 Make all send_* methods dealing with files aware of StopTransmission 2019-01-11 14:13:23 +01:00
Dan
2791600926 Hint about the returned value in case of stopped downloads 2019-01-11 14:12:53 +01:00
Dan
b37d4dc7ec Make get_file and save_file handle StopTransmission errors 2019-01-11 14:03:16 +01:00
Dan
6b63e88de7 Add Client.stop_transmission() method
As a wrapper for raise StopTransmission
2019-01-11 14:02:40 +01:00
Dan
c28b9f9a2c Add StopTransmission custom exception
Useful for stopping up/downloads after they started
2019-01-11 14:00:03 +01:00
Dan
d5ed47f4e9 Fix Message.download() not working when using the progress callback 2019-01-11 13:59:18 +01:00