Commit Graph

3500 Commits

Author SHA1 Message Date
Dan
a3e5ba8862 Use MTProto 2.0 instead of 1.0 2017-12-09 02:24:21 +01:00
Dan
42f9a2d699 Add MTProto 2.0 implementation 2017-12-09 02:21:23 +01:00
Dan
e3b05cbc4e Add MTProto 2.0 key derivation function 2017-12-09 01:10:09 +01:00
Dan
fe9b968ad8 Add basic update handler 2017-12-08 23:40:29 +01:00
Dan
315563ede0 Add TODO for delete_messages 2017-12-07 02:36:01 +01:00
Dan
d0feb8fb15 Add delete_messages method 2017-12-07 02:31:05 +01:00
Dan
e3850ce75a Parse markdown on edit_message_text 2017-12-07 02:15:41 +01:00
Dan
28c3a07d84 Fallback to "typing" instead of throwing an error 2017-12-07 02:11:35 +01:00
Dan
88bc7b59a1 Fix wrong keyword argument 2017-12-07 02:02:51 +01:00
Dan
500c88ae84 Reformat code 2017-12-07 02:02:16 +01:00
Dan
5c11f42933 Rename ACTIONS -> CHAT_ACTIONS 2017-12-06 21:57:46 +01:00
Dan
e2a5deaf17 Add MESSAGE_NOT_MODIFIED error 2017-12-06 21:53:44 +01:00
Dan
51beaa4474 Add MESSAGE_ID_INVALID error 2017-12-06 21:51:51 +01:00
Dan
f561ef59bf Reformat method 2017-12-06 21:51:23 +01:00
Dan
1fe651f0b0 Add edit_message_text method 2017-12-06 21:48:25 +01:00
Dan
79e972df85 Move ACTIONS outside the method 2017-12-06 21:33:57 +01:00
Dan
cb509ba4db Accept optional keyword arguments 2017-12-06 21:27:57 +01:00
Dan
0a12d9c5bd Add send_chat_action method 2017-12-06 21:25:22 +01:00
Dan
f60e48ab0a Add send_contact method 2017-12-06 21:05:25 +01:00
Dan
a8ae43adca Add send_location method 2017-12-06 21:01:23 +01:00
Dan
70e4e4e008 Enable fetching all user's dialogs 2017-12-06 20:46:21 +01:00
Dan
ae84bb267f Add forward_messages method 2017-12-06 20:45:56 +01:00
Dan
740c96f0ea Optimize imports 2017-12-06 20:26:40 +01:00
Dan
08d6912637 Add disable_notification parameter 2017-12-06 20:26:01 +01:00
Dan
fb4ae4b17e Fix method signatures for generated classes 2017-12-06 19:31:30 +01:00
Dan
055367fe9c Fix method signatures 2017-12-06 19:28:18 +01:00
Dan
29ef38df89 Remove unnecessary checks 2017-12-06 19:14:45 +01:00
Dan
f30746a0b2 Use unsigned constructor id 2017-12-06 19:13:50 +01:00
Dan
5568e65b43 Replace tabs with pipes 2017-12-06 19:12:32 +01:00
Dan
bbf7738631 Remove unnecessary import 2017-12-06 19:07:50 +01:00
Dan
595ba9abbe Add installation requirements 2017-12-06 18:55:37 +01:00
Dan
a459f7a1a3 Workaround broken installation process 2017-12-06 18:27:41 +01:00
Dan
98a7420416 Add setup.cfg, setup.py 2017-12-06 18:04:06 +01:00
Dan
3e8f72d301 Add MANIFEST.in 2017-12-05 12:50:29 +01:00
Dan
ebe785d39a Add README.rst 2017-12-05 12:49:31 +01:00
Dan
be27b364b5 Ignore user's personal files 2017-12-05 12:48:55 +01:00
Dan
5ff61dd53d Ignore Pyrogram generated files 2017-12-05 12:47:43 +01:00
Dan
4ed7110048 Add extensions package 2017-12-05 12:42:57 +01:00
Dan
fc5fc6e85b Add client package 2017-12-05 12:42:09 +01:00
Dan
a8cad5abfb Add session package 2017-12-05 12:41:07 +01:00
Dan
afcd19a120 Add crypto package 2017-12-05 12:39:04 +01:00
Dan
981d644288 Add connection package 2017-12-05 12:37:30 +01:00
Dan
95cb91b778 Add error package 2017-12-05 12:36:11 +01:00
Dan
bf27bf1cb4 Add core types 2017-12-05 12:32:23 +01:00
Dan
c9f90faf3d Add primitive types 2017-12-05 12:29:15 +01:00
Dan
5332a5f36d Add top package init file 2017-12-05 12:26:27 +01:00
Dan
3068d4ef1d Ignore PyCharm stuff 2017-12-05 12:24:44 +01:00
Dan
0acd0e9902 Add Error compiler 2017-12-05 12:21:55 +01:00
Dan
28704b9326 Add API compiler 2017-12-05 12:16:39 +01:00
Dan
45ee7aa8b1 Initial commit 2017-12-05 12:09:33 +01:00