Commit Graph

537 Commits

Author SHA1 Message Date
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
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
42a2878842 Don't use sys.exit(), re-raise ImportError instead 2018-03-26 03:39:30 +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
e680cce5fa Update docstrings 2018-03-25 22:12:52 +02:00
Dan
16eee1dabb Update docstrings 2018-03-25 21:59:04 +02:00
Dan
faa363fee8 Update docstrings 2018-03-25 21:41:19 +02:00
Dan
5bf64ac444 Don't process empty messages 2018-03-25 17:49:43 +02:00
Dan
61ba9dca8b
Update README.rst 2018-03-24 17:22:57 +01:00
Dan
a956463a57 Update to v0.6.4 2018-03-24 17:15:24 +01:00
Dan
bbe3a8a487 Set supports_streaming to True by default 2018-03-24 15:10:27 +01:00
Dan
813b7958e3 Remove token parameter 2018-03-24 15:02:03 +01:00
Dan
ef71dcf56a Remove **kwargs for generated classes (function/types) 2018-03-23 13:46:43 +01:00
Dan
1d9bb18a38 Only match full t.me/joinchat links 2018-03-23 12:59:03 +01:00
Dan
d1b9886788 Merge remote-tracking branch 'origin/master' 2018-03-23 08:28:51 +01:00
Dan
a0e3ab4199 Yet another markdown pattern fix 2018-03-23 08:27:23 +01:00
Dan
9fe98cf689
Update README.md 2018-03-22 16:22:20 +01:00
Dan
4553bdda5e Add requirements.txt to MANIFEST.in 2018-03-22 15:36:32 +01:00
Dan
5846c72150 Load requirements from file 2018-03-22 15:30:41 +01:00
Dan
cc50d01bb1 Add requirements.txt 2018-03-22 15:30:18 +01:00
Dan
e7adb4baa5 Merge remote-tracking branch 'origin/master' 2018-03-22 14:37:07 +01:00
Dan
a9b1783910 Let api_key and proxy parameters override the config.ini file 2018-03-22 14:36:46 +01:00
Dan
7149adba28
Update README.md 2018-03-22 14:34:33 +01:00