Commit graph

688 commits

Author SHA1 Message Date
Dan
144a0103e4 Merge branch 'master' into docs 2018-04-11 03:19:33 +02:00
Dan
eeb89e4161 Fix some weird behaviours when printing exceptions 2018-04-09 22:04:16 +02:00
Dan
ec72330de9 Allow passing a custom error message 2018-04-08 16:51:20 +02:00
Dan
0bd22e9266 Fix casting in case api_id is None 2018-04-08 13:21:16 +02:00
Dan
26a41ec00e Allow returning sms codes as int from the callback function 2018-04-08 12:46:02 +02:00
Dan
dfc8d00adb Allow passing api_id as string 2018-04-08 12:44:27 +02:00
Dan
73fbe60057 Remove APIKey class 2018-04-05 13:05:27 +02:00
Dan
942c20d08b Use separate api_id and api_hash parameters
Instead of a tuple (api_id, api_hash)
2018-04-05 12:55:34 +02:00
Dan
cce937e54b Set correct type hint 2018-04-05 11:43:56 +02:00
Dan
f8b272a925 Allow passing phone numbers with white spaces
E.g.: "+39 123 456 7890"
2018-04-05 11:31:01 +02:00
Dan
fcf0e4515f Don't try to stop a non-started Client 2018-04-03 14:54:34 +02:00
Dan
10452dc545 Don't allow start() to be called more than once 2018-04-03 11:45:19 +02:00
Dan
e69fea4bb5 More readable exception handling 2018-04-03 11:40:08 +02:00
Dan
2f2a381686 Add extra GetDialogs step 2018-04-02 12:14:22 +02:00
Dan
b5304ca23a Use fully qualified channel id 2018-04-02 11:11:38 +02:00
Dan
e6ee76792b Add requirements_extras.txt to MANIFEST.in 2018-04-02 11:07:58 +02:00
Dan
d1517ae885 Update setup.py 2018-04-02 11:07:23 +02:00
Dan
8b3ba8a573 Add requirements_extras.txt 2018-04-02 11:04:59 +02:00
Dan
5f0ab753ef Update requirements.txt 2018-04-02 11:04:39 +02:00
Dan
1849c26b5e Revert "Remove old code and use a better error message"
This reverts commit 7f13eef
2018-04-02 10:02:30 +02:00
Dan
21ab5295c4 Update first_name and last_name parameters' docs 2018-04-01 18:18:06 +02:00
Dan
fecea07db6 Document force_sms parameter 2018-04-01 18:17:20 +02:00
Dan
387bbbf090 Add new force_sms parameter to force Telegram sending the code via SMS 2018-04-01 17:38:22 +02:00
Dan
880eb28e9f Use double quotes 2018-03-30 22:41:34 +02:00
Dan
a3282636fc Remove custom templates 2018-03-30 21:44:17 +02:00
Dan
ba5d8f15df Remove custom stylesheets 2018-03-30 21:44:05 +02:00
Dan
631e3e350f Remove pics 2018-03-30 21:43:37 +02:00
Dan
ecbac5f8fb Don't use _static anymore, move pics to _images 2018-03-30 21:43:25 +02:00
Dan
f0f96fe993 Update QuickInstallation page 2018-03-30 20:08:18 +02:00
Dan
02adcce597 Merge branch 'master' into docs 2018-03-30 20:05:12 +02:00
Dan
36b957fc94 Update version in docs 2018-03-29 14:04:16 +02:00
Dan
6f9c12bfe9 Update to v0.6.5 2018-03-27 12:56:28 +02:00
Dan
f28992ce90 Yet another fix for the encoding problems 2018-03-27 12:33:56 +02:00
Dan
beaf88adee Remove imports, use namespaces 2018-03-26 13:41:00 +02:00
Dan
e397c4d181 Don't process empty differences 2018-03-26 13:34:54 +02:00
Dan
9e0901aadf Add docs intro 2018-03-26 03:58:10 +02:00
Dan
d3b82ef622 Merge branch 'master' into docs 2018-03-26 03:39:45 +02:00
Dan
42a2878842 Don't use sys.exit(), re-raise ImportError instead 2018-03-26 03:39:30 +02:00
Dan
e9817400a3 Merge branch 'master' into docs 2018-03-26 03:15:42 +02:00
Dan
ae21ada0f4 Add some keywords 2018-03-26 02:05:56 +02:00
Dan
52c482f1e4 Use a better error message 2018-03-26 02:03:36 +02:00
Dan
7f13eef44b Remove old code and use a better error message 2018-03-26 02:02:57 +02:00
Dan
c91e6a0900 Merge branch 'master' into docs 2018-03-25 22:13:00 +02:00
Dan
e680cce5fa Update docstrings 2018-03-25 22:12:52 +02:00
Dan
815a13f5ac Update docs 2018-03-25 22:07:31 +02:00
Dan
e5c8bcfe14 Merge branch 'master' into docs 2018-03-25 21:59:14 +02:00
Dan
16eee1dabb Update docstrings 2018-03-25 21:59:04 +02:00
Dan
90f5a35b4a Update compiler 2018-03-25 21:58:27 +02:00
Dan
255d729ab9 Merge branch 'master' into docs 2018-03-25 21:41:29 +02:00
Dan
faa363fee8 Update docstrings 2018-03-25 21:41:19 +02:00