Commit Graph

185 Commits

Author SHA1 Message Date
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
Dan
14127ae1f0 Update to v0.1.6 2017-12-17 14:39:37 +01:00
Dan
5c72ee762a Fix no *.csv matching files 2017-12-17 14:38:18 +01:00
Dan
bbcd803b65
Update README.rst 2017-12-17 14:28:16 +01:00
Dan
70faa86a09
Update README.rst 2017-12-17 14:22:03 +01:00
Dan
53e74e34ad Call the proper logger 2017-12-17 13:52:57 +01:00
Dan
b6607fede0 Add idle mechanism to gently stop the program 2017-12-17 13:52:33 +01:00
Dan
c83daf8771 Correctly shutdown the socket 2017-12-17 13:50:43 +01:00
Dan
a4d00b7376 Expose UnknownError class 2017-12-17 13:50:12 +01:00
Dan
32110e8578 Add send_venue method 2017-12-16 02:03:09 +01:00
Dan
ae36a57ee1 Add send_video_note method 2017-12-16 01:45:29 +01:00
Dan
ecd40f267e Add send_voice method 2017-12-16 01:27:13 +01:00
Dan
d528672a3b Add send_video method 2017-12-16 01:16:52 +01:00
Dan
9986b707ae Default to audio/mpeg mime type when sending audios 2017-12-16 01:05:25 +01:00
Dan
fadecb1061 Rename .csv -> .tsv 2017-12-15 12:28:13 +01:00
Dan
562103c66d Use tab as value separator 2017-12-15 12:26:42 +01:00
Dan
b90c1fe263 Update to v0.1.5 2017-12-15 10:11:14 +01:00
Dan
31b53e027b Add send_document method 2017-12-15 10:09:29 +01:00