Commit Graph

104 Commits

Author SHA1 Message Date
Dan
e242f2a555 Add support for downloading files in different DCs 2017-12-27 20:59:37 +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
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
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
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
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
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
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
Dan
690fe5f55a Little lonely comma 2017-12-14 11:07:04 +01:00
Dan
4a8808fa3c Remove blank line 2017-12-14 11:04:15 +01:00
Dan
914e7745f6 Update to v0.1.4 2017-12-14 10:59:43 +01:00