bakatrouble
|
b0c011c70c
|
Fix plugins import on windows (#223)
Fixes #217
|
2019-02-27 22:27:50 +01:00 |
|
Dan
|
50cff068a0
|
Fix send_* methods sending the incorrect Telegram media message type
This makes Pyrogram consistent with the official Bot API behaviour.
|
2019-02-12 20:29:05 +01:00 |
|
23rd
|
69f347ddec
|
Fixed loss of thumbnails after media editing. (#216)
|
2019-02-11 11:07:02 +01:00 |
|
Dan
|
23a40a45ca
|
Make get_contacts return a list of User objects
|
2019-02-06 11:28:57 +01:00 |
|
Dan
|
712b390f77
|
Add a retry mechanism when uploading chunks
|
2019-02-05 17:10:00 +01:00 |
|
Dan
|
a2263ad8ce
|
Make send_media_group return the new Messages object
|
2019-02-05 11:50:32 +01:00 |
|
Dan
|
6109129f73
|
Reword some filter docstrings to better explain their usages
|
2019-02-04 18:23:40 +01:00 |
|
Dan
|
a6dbed6dfb
|
Add a way to continue the update propagation within a group
Add continue_propagation() method and ContinuePropagation exception
Closes #212
|
2019-02-04 12:33:54 +01:00 |
|
Dan
|
ccecbd6a50
|
Merge branch 'raw-updates-swallowing' into develop
|
2019-02-04 11:47:31 +01:00 |
|
Dan
|
392fea6e32
|
Refactor Dispatcher's worker
Closes #211
|
2019-02-04 11:47:21 +01:00 |
|
Dan
|
429cfd0882
|
Move the check method into Handler superclass
|
2019-02-04 10:35:00 +01:00 |
|
Dan
|
c40f061d9a
|
Fix CallbackQuery docstrings
|
2019-02-02 19:01:35 +01:00 |
|
Dan
|
f0d059da07
|
First working (and ugly) way for fixing raw updates being swallowed
|
2019-01-30 17:16:50 +01:00 |
|
Dan
|
628ddd4a25
|
Update Client's docstrings
|
2019-01-27 11:24:23 +01:00 |
|
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
|
a8a6f53e2d
|
Fix the configuration load process breaking in case of no plugins
|
2019-01-26 13:01:44 +01:00 |
|
Dan
|
66ed6d53e3
|
Merge branch 'smart-plugins-enhancements' into develop
|
2019-01-25 09:22:06 +01:00 |
|
Dan
|
44deabf399
|
Update iter_chat_members efficiency
|
2019-01-24 17:21:41 +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
|
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
|
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
|
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
|
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
|
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
|
7ae9a065b8
|
Update examples
|
2019-01-07 10:34:38 +01:00 |
|