Commit Graph

390 Commits

Author SHA1 Message Date
Dan
d9fdd89c49 Add ChatPhoto to User objects 2018-04-15 22:28:08 +02:00
Dan
ab1d780a61 Add ChatPhoto to Chat objects 2018-04-15 22:23:58 +02:00
Dan
94c9e7c52b Add some TODOs 2018-04-14 21:55:23 +02:00
Dan
b705391f79 Enhance send_media_group by accepting file_ids 2018-04-14 21:48:15 +02:00
Dan
5e26ae1894 Enhance send_video_note by accepting file_ids 2018-04-14 20:49:16 +02:00
Dan
c52ecadb76 Enhance send_voice by accepting file_ids and URLs 2018-04-14 20:42:32 +02:00
Dan
1fdb3386ff Enhance send_video by accepting file_ids and URLs 2018-04-14 20:41:23 +02:00
Dan
4f615bd6dc Enhance send_sticker by accepting file_ids and URLs 2018-04-14 19:56:11 +02:00
Dan
8446129003 Enhance send_document by accepting file_ids and URLs 2018-04-14 19:48:15 +02:00
Dan
0dd5ebef80 Fix raw update handler throwing errors 2018-04-14 16:59:34 +02:00
Dan
e8193435a9 Fix service filter and add media filter 2018-04-14 14:02:48 +02:00
Dan
17259d1b7b Join threads before closing the connection 2018-04-13 19:09:00 +02:00
Dan
e3c70c84ba Merge branch 'master' into new-api 2018-04-13 18:55:20 +02:00
Dan
83c4ba8a78 Handle flood wait when getting dialogs chunks 2018-04-13 18:53:55 +02:00
Dan
70173adca9 Iterate over copies 2018-04-13 18:35:36 +02:00
Dan
2f52b0e144 Merge branch 'master' into new-api 2018-04-13 16:42:26 +02:00
Dan
75cbd18ede Add ability to re-fetch usernames and contacts 2018-04-13 16:41:20 +02:00
Dan
ebc34e71d3 Optimize imports 2018-04-13 16:30:19 +02:00
Dan
e05c6a76d5 Merge branch 'master' into new-api
# Conflicts:
#	pyrogram/client/client.py
#	pyrogram/client/utils.py
2018-04-13 16:29:39 +02:00
Dan
846b7ec710 Increase sync interval 2018-04-13 16:21:18 +02:00
Dan
077930f85e Lower offline sleep 2018-04-13 16:20:51 +02:00
Dan
973cb4b2b6 Make dialogs and contacts fetching smarter 2018-04-13 16:20:21 +02:00
Dan
d9aa2a3ab0 Fix channels ids 2018-04-13 15:40:35 +02:00
Dan
9631dc7780 Accommodate Syncer 2018-04-13 15:21:34 +02:00
Dan
b84628e01d Add syncer module 2018-04-13 15:20:47 +02:00
Dan
e38da08e25 Load peers from session file 2018-04-13 15:20:37 +02:00
Dan
2ad3e113a0 Add utils module 2018-04-13 15:17:21 +02:00
Dan
a4b6674d4d Add date field 2018-04-13 15:05:46 +02:00
Dan
01775d0bd7 Don't pass session_name 2018-04-13 15:03:46 +02:00
Dan
6dcdeda244 Make proxy loading simpler 2018-04-13 12:30:13 +02:00
Dan
346d3da175 Add more info in case of an error 2018-04-12 14:11:01 +02:00
Dan
98937dbc3b Update Docs 2018-04-11 23:18:17 +02:00
Dan
3f16390193 Update docstrings 2018-04-11 15:16:29 +02:00
Dan
b5f1d3a2a5 Update docstrings 2018-04-11 03:53:10 +02:00
Dan
472ed8e355 Document the new features 2018-04-11 03:16:48 +02:00
Dan
84b1e697bb Add phone_number field in users 2018-04-10 19:48:44 +02:00
Dan
c4f2906009 Add via_bot field in messages 2018-04-10 19:37:52 +02:00
Dan
847b8dd5d4 Add views field in messages 2018-04-10 19:30:55 +02:00
Dan
059c1d7a27 Add service message filters 2018-04-10 19:23:40 +02:00
Dan
cbf9104aa3 Add chat filter 2018-04-10 18:33:19 +02:00
Dan
dfa1e51281 Fix type hinting 2018-04-10 16:27:04 +02:00
Dan
f553e521ce Use sets instead of lists or tuples
For faster checks
2018-04-10 16:26:04 +02:00
Dan
793ecc2ab5 Add user filter 2018-04-10 16:24:39 +02:00
Dan
a6b6b0dfd6 Add edited filter 2018-04-10 16:04:22 +02:00
Dan
3b028698f7 Make command parameter non-optional 2018-04-10 15:04:31 +02:00
Dan
9165c7f591 Rework decorators impl 2018-04-10 14:54:39 +02:00
Dan
7537a27620 Accept command strings as parameter 2018-04-10 14:54:06 +02:00
Dan
c33c7c76fd Rework dispatcher 2018-04-10 14:52:31 +02:00
Dan
f2424d3b1e Add some more filters 2018-04-10 13:14:10 +02:00
Dan
9ce13518ec Add missing notice 2018-04-10 00:25:51 +02:00