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
Dan
200ed844fe
Fix first_name and last_name not being called if they are callable
2019-01-11 13:02:19 +01:00
Dan
48b50780ce
Merge branch 'develop' into asyncio
...
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/methods/messages/send_message.py
2019-01-11 13:01:26 +01:00
Dan
161ab79eb3
Add Filters.media_group for photos or videos being part of an album.
2019-01-11 12:51:01 +01:00
Dan
1d8fd0b836
Make Filters.regex work on message captions too
2019-01-11 12:46:41 +01:00
Dan
07276e31b9
Add restart method
2019-01-11 12:36:37 +01:00
Dan
19b8f648d2
Fix bad behaviours for Python <3.6
...
Pyrogram was relying on dict keys being "ordered"
(keys keeping insertion order).
2019-01-11 12:31:18 +01:00
Dan
66f70450aa
Allow phone_number, phone_code and password to also be functions
...
Also add recovery_code
References #163
2019-01-08 14:28:52 +01:00
Dan
3213fc4bb9
Merge branch 'develop' into asyncio
...
# Conflicts:
# pyrogram/__init__.py
2019-01-07 22:59:47 +01:00
Dan
36681c8c5b
Update dev version
2019-01-07 22:59:22 +01:00
Dan
4db826615b
Add USER_BOT_REQUIRED error
2019-01-07 22:58:14 +01:00
Dan
35096a28c3
Fix asyncio merge
2019-01-07 22:57:19 +01:00
Dan
21c301d19d
Merge branch 'develop' into asyncio
2019-01-07 22:51:57 +01:00
Dan
8928ca3433
Rename game_score to game_high_score
2019-01-07 22:50:54 +01:00
Dan
ee472329a2
Move get_game_high_scores method into bots folder
2019-01-07 22:35:17 +01:00
Dan
dc737ab7bb
Add GameHighScore and GameHighScores types
2019-01-07 22:30:33 +01:00
Dan
633fefe178
Add get_game_high_scores method
2019-01-07 22:28:41 +01:00
Dan
65bdf31ce1
Move send_game and set_game_score into bots folder
2019-01-07 22:26:52 +01:00
Dan
33e83bf635
Update set_game_score docstrings
2019-01-07 22:19:21 +01:00
Dan
9771be9c2a
Add send_game and set_game_score methods
2019-01-07 21:49:58 +01:00
Dan
1bbf048b7a
Remove duplicated references
2019-01-07 21:49:25 +01:00
Dan
ebb2ad5aab
Add BOT_SCORE_NOT_MODIFIED error
2019-01-07 11:47:59 +01:00
Dan
2055736661
Merge branch 'develop' into asyncio
2019-01-07 10:36:52 +01:00
Dan
7ae9a065b8
Update examples
2019-01-07 10:34:38 +01:00
Dan
491b96c9f6
Use "recent" filter for up to 10k members
2019-01-07 10:00:42 +01:00
Dan
0bae143d5d
Fix asyncio merge issues
2019-01-07 09:37:26 +01:00
Dan
4d8c76463c
Add async_generator requirement
2019-01-07 09:34:08 +01:00
Dan
2084a406a4
Merge branch 'develop' into asyncio
...
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/client.py
# pyrogram/client/ext/base_client.py
# pyrogram/client/methods/chats/get_chat_members.py
# pyrogram/client/methods/chats/get_dialogs.py
# pyrogram/client/methods/chats/kick_chat_member.py
# pyrogram/client/methods/messages/get_history.py
# pyrogram/client/methods/messages/get_messages.py
# pyrogram/client/types/messages_and_media/messages.py
2019-01-07 08:46:28 +01:00
Dan
6451d599b2
Fix typo
2019-01-07 08:30:40 +01:00
Dan
bb27633da6
Add game and game_score in Message
2019-01-05 23:13:47 +01:00
Dan
50e5692eae
Add Filters.game and Filters.game_score. Also fix Filters.animation name
2019-01-05 23:12:59 +01:00
Dan
d5303285d6
Add support for Game inline buttons. Add CallbackGame type
2019-01-05 23:12:29 +01:00
Dan
7d061a1b5c
Add Game type
2019-01-05 23:11:39 +01:00
Dan
7cb1c99e28
Update copyright year
2019-01-05 18:29:48 +01:00
Dan
c7b1d6f70a
Take into account that flags:# could be not always the first argument
...
For instance, in Layer 91, Poll's flags:# is at the second position.
This mess also happened in the past (thanks tg devs) and eventually will
be fixed again with the next Layer update, but from now on Pyrogram
will be able to correctly generate code even in such cases.
2019-01-05 15:40:40 +01:00
Dan
a50dba2b4c
Add close_poll method
2019-01-05 14:44:10 +01:00
Dan
0716380737
Add MEDIA_INVALID error
2019-01-05 12:26:05 +01:00
Dan
999b9ce667
Add MESSAGE_POLL_CLOSED error
2019-01-05 12:06:54 +01:00
Dan
7e354b12bf
Fix kick_chat_member docstrings and return type
2019-01-04 23:15:57 +01:00