Commit Graph

756 Commits

Author SHA1 Message Date
Lonami Exo
877065d0ac Reuse code when writing the docs menu, add menu to indices 2017-04-08 12:21:38 +02:00
Lonami Exo
a4e8b3d2e5 Generate indices files on the documentation 2017-04-07 21:06:49 +02:00
Lonami Exo
edda87b81b Make use of the reusable docs writer class 2017-04-07 20:18:01 +02:00
Lonami Exo
b50a85bb93 Add a more reusable document writer class 2017-04-07 20:07:55 +02:00
Lonami Exo
4abeb0b14a Generate docs for all the types listing their constructors 2017-04-07 19:08:00 +02:00
Lonami Exo
0abeb54a28 Write a documentation generator script 2017-04-07 18:30:54 +02:00
Lonami Exo
426b09aec0 Slightly improve the updates thread (also easier to understand) 2017-04-06 18:46:09 +02:00
Lonami Exo
ceca636bb1 Do not connect to Telegram until .connect() is invoked 2017-04-06 18:16:15 +02:00
Ader
4734d4a7f9 Add method to list update handlers (#40) 2017-03-28 18:46:07 +02:00
Lonami Exo
af4514b15e Fix uploading big files (closes #2) 2017-03-25 17:14:11 +01:00
Lonami Exo
3f24cb17c3 Update README 2017-03-20 17:34:51 +01:00
Epix Zhang
350c11d66f Add proxy support using PySocks (closes #37) 2017-03-20 17:16:34 +01:00
Lonami Exo
b4c81a60b3 Add more errors 2017-03-20 12:44:10 +01:00
Lonami Exo
258c7f1df6 Allow login as a bot (closes #36, thanks to @JuanPotato) 2017-03-20 12:32:10 +01:00
Lonami Exo
628b7391e3 Greatly improve the handling of working with different DC 2017-03-20 12:32:10 +01:00
Lonami
6b1dc30045 Merge pull request #33 from belegnar/master
Doc improvement and force reconnection
2017-03-10 13:00:49 +01:00
Belegnar
8753df27ed * reconnect in TelegramClient.connect() forces reconnect only if client was connected 2017-03-10 14:14:51 +03:00
Belegnar
0e44657963 * doc improvement
* relative imports not allowed when module is not loaded (https://www.python.org/dev/peps/pep-0366/)
2017-03-10 14:13:22 +03:00
Lonami Exo
b5dfc5d514 Fix requests returning vectors not working (closes #26) 2017-02-25 11:28:55 +01:00
Lonami Exo
8cde95ff95 Update to v0.7.1 2017-02-19 15:48:29 +01:00
Lonami
0e60159460 Merge pull request #25 from strayge/master
Add periodic pings (fixes #24)
2017-02-19 15:34:23 +01:00
strayge
6729219761 minor fix in network test 2017-02-19 20:21:25 +06:00
strayge
8256cb3e55 added ping requests 2017-02-19 20:20:21 +06:00
Lonami Exo
b080e086b7 Merge branch 'master' of github.com:LonamiWebs/Telethon 2017-01-30 13:36:38 +01:00
Lonami Exo
11629ecf2f Fix closing socket on Windows 2017-01-30 13:36:15 +01:00
Lonami
08ce6c964e Merge pull request #18 from ttsda/master
Fix retrieving extension on download_document()
2017-01-19 16:21:56 +01:00
Tiago
72e8773338 Fixed download_document() 2017-01-19 15:16:39 +00:00
Lonami Exo
78fe053ff3 Handle server pongs for manual ping requests 2017-01-19 15:54:28 +01:00
Lonami Exo
9ca4471bcd Allow passing entities instead input_peers and more*
Some fixes to the interactive client (not handling
invalid options, errors when uploading files)
2017-01-17 20:22:47 +01:00
Lonami Exo
8e48455cdc Fix bug introduced in #d08794 found by @k1-hedayati 2017-01-13 21:22:53 +01:00
Lonami Exo
a5bd740b10 Updated to layer 62 2017-01-04 15:40:53 +01:00
Lonami Exo
f310427c36 Updated scheme.tl link to point to /dev and old markdown link 2017-01-04 15:20:22 +01:00
Lonami Exo
af9fbbb463 Merge branch 'fdhadzh-master' 2016-11-30 15:56:44 +01:00
Lonami Exo
4862ef1dce Merge branch 'master' of https://github.com/fdhadzh/Telethon into fdhadzh-master 2016-11-30 15:56:30 +01:00
Lonami Exo
be2bdc0e13 Implements and closes #12 (custom session objects) 2016-11-30 15:36:59 +01:00
Fadi Hadzh
d087941bd0 Many code-style improvements 2016-11-30 00:29:42 +03:00
Fadi Hadzh
ef264ae83f Add pre-commit hooks configuration 2016-11-30 00:29:05 +03:00
Lonami Exo
6c93d08b8d Added two-step verification (fixes #4) and more info for errors 2016-11-26 12:04:02 +01:00
Lonami Exo
be94bff576 Patched code generator and updated README.rst removing markdown leftovers 2016-11-23 21:03:58 +01:00
Lonami Exo
4d96de8ab5 Changed README.md to README.rst 2016-11-13 15:39:47 +01:00
Lonami Exo
d290a569c5 Added webp mime type (useful when downloading stickers) 2016-11-13 14:51:50 +01:00
Lonami
308adc4192 Fixed invalid parameters when downloading documents 2016-10-09 13:47:38 +02:00
Lonami
a42effc2b5 Externalized TelegramClient utilities and added more 2016-10-09 12:57:38 +02:00
Lonami
b52cb12b2a Merge pull request #8 from MuallimCh/patch-1
Update tcp_transport.py to increment send_counter in case it fails
2016-10-09 10:18:39 +02:00
LiemCH
38bf460930 Update tcp_transport.py
Counter before send, in case of fail send, will not result error 500 random_id_duplicate
2016-10-09 10:10:41 +07:00
Lonami
6a32c6cd7a Moved requests .constructor_id to be a class-level variable 2016-10-04 18:55:02 +02:00
Lonami
f2728f47c3 Updated scheme to layer 57 and fixes to README links 2016-10-03 19:57:21 +02:00
Lonami
2a666f7ee0 Added ability to download profile photos, changes to get_dialogs()
The `get_dialogs()` method now returns dialogs and "entities",
which can be an User, a Chat or even a Channel.
In order to use them you may want to make use of .get_input_peer()
and .get_display_name() methods
2016-10-03 19:44:01 +02:00
Lonami
7399bfacd1 Implemented receive timeout (#6) and fixed error string 2016-10-03 09:54:17 +02:00
Lonami
1ecd51c7d1 Implemented #1 (Sending messages read acknowledge) 2016-10-02 13:57:03 +02:00