Commit Graph

4352 Commits

Author SHA1 Message Date
Dan
74788f934f Expose the Error class from the main package 2017-12-30 19:31:22 +01:00
Dan
5e7d9af95d Document the Error class 2017-12-30 19:30:51 +01:00
Dan
5c3487dc8a Move error messages into docstrings 2017-12-30 19:25:17 +01:00
Dan
8be5351452 Add "Raises" section in docstrings 2017-12-30 19:23:18 +01:00
Dan
1df1762d54 Add docstrings for exposed classes and methods 2017-12-29 21:44:45 +01:00
Dan
df5cee5b03 Remove unnecessary branch 2017-12-28 13:10:01 +01:00
Dan
211381a9a8 Skip already processed messages 2017-12-28 13:06:26 +01:00
Dan
4019693363 Add export_chat_invite_link method 2017-12-27 21:23:00 +01:00
Dan
e242f2a555 Add support for downloading files in different DCs 2017-12-27 20:59:37 +01:00
Dan
0cfce2c165
Split Logo into Icon and Label 2017-12-27 19:20:17 +01:00
Dan
ba0af8043c Add Null primitive data type 2017-12-27 13:05:59 +01:00
Dan
8a8e863598 Add edit_message_caption method 2017-12-26 18:50:57 +01:00
Dan
f62ce30dbf Check if not None before calling .join() 2017-12-26 01:19:38 +01:00
Dan
2d9579945b Update to v0.2.2 2017-12-25 13:45:16 +01:00
Dan
6b9a757ce7 Add delete parameter to delete the chat dialog 2017-12-25 13:02:14 +01:00
Dan
924302aed5 Fix get_dialogs not fetching some dialogs containing service messages 2017-12-25 12:51:03 +01:00
Dan
64fbcf2237 Add leave_chat method 2017-12-25 12:47:08 +01:00
Dan
c7f7825c92 Add join_chat method 2017-12-25 12:30:48 +01:00
Dan
aef1386a1a Accept usernames starting with "@" 2017-12-25 11:49:59 +01:00
Dan
3eaba9d2f4 Fix deserialization for bare Vectors 2017-12-25 11:47:08 +01:00
Dan
7b6d71753d Update to v0.2.1 2017-12-24 00:04:09 +01:00
Dan
5128f6310b Wait for threads to stop when closing the session 2017-12-23 23:43:20 +01:00
Dan
0231ce58d5 Remove some TODOs in code 2017-12-23 14:02:14 +01:00
Dan
b8e03aeccc Add CHAT_ADMIN_REQUIRED error 2017-12-23 13:46:25 +01:00
Dan
9792ee902d Add get_user_profile_photos method 2017-12-23 13:34:06 +01:00
Dan
54fa3af4d5 Add initial support for photos download 2017-12-23 12:26:26 +01:00
Dan
ef7ee13a56 Wait a second before retrying 2017-12-22 09:27:47 +01:00
Dan
e8f04793ea Add CDN DC-121 IP in production DCs list 2017-12-22 09:27:13 +01:00
Dan
92d1bcfb41 Add CDN DC-140 RSA key 2017-12-22 09:25:49 +01:00
Dan
fee5e46a8e Merge branch 'master' of https://github.com/pyrogram/pyrogram 2017-12-22 07:55:18 +01:00
Dan
9fce809188 Add some more errors 2017-12-22 07:55:02 +01:00
Dan
2be431cf03
Update README.rst 2017-12-21 16:00:04 +01:00
Dan
d01f6f67a9 Update to v0.2.0 2017-12-20 16:31:58 +01:00
Dan
0f2ef8e681 Add download support for non-CDN files 2017-12-20 16:21:56 +01:00
Dan
0fbc5e1a90 Add get_file method (to be refined) 2017-12-19 14:00:19 +01:00
Dan
b35fabd9d5 Add AES CTR operation mode 2017-12-19 13:59:15 +01:00
Dan
14632c9bb1 Don't call InitConnection on CDN DCs 2017-12-19 11:38:15 +01:00
Dan
a9087a2a8c Add CDN DC-121 RSA Public Key 2017-12-19 11:36:34 +01:00
Dan
cbaa50747a Add CDN DC-121 IP 2017-12-19 11:35:26 +01:00
Dan
b6817bc90a More verbose error 2017-12-19 11:33:45 +01:00
Dan
5e157c2598 Remove old MTProto v1.0 code 2017-12-18 15:16:21 +01:00
Dan
3f755ee4fd
Fix broken badges 2017-12-18 15:02:19 +01:00
Dan
d79d4f7821 Update to v0.1.8 2017-12-18 14:51:57 +01:00
Dan
bdc2ab6c73 Rewrite save_file to handle missing file parts 2017-12-18 14:41:32 +01:00
Dan
b23b41bc7d Lock the send method for every tcp mode, not only for tcp_full 2017-12-18 14:14:44 +01:00
Dan
dde01cc9b9 Fix unhandled exception in case the connection is already closed 2017-12-18 13:50:00 +01:00
Dan
316c426429 Handle non-existent auth_key_id errors 2017-12-18 09:50:41 +01:00
Dan
a02dd6302e Add MESSAGE_TOO_LONG error 2017-12-18 09:30:07 +01:00
Dan
8086d68b27 Update to v0.1.7 2017-12-18 09:08:19 +01:00
Dan
99a81ad1d6 Fix file uploading for Python < 3.5 2017-12-18 09:07:51 +01:00