Commit Graph

39 Commits

Author SHA1 Message Date
Lonami Exo
5017a9d1da Fix typos and add the URL_INVALID error 2018-07-14 10:43:24 +02:00
Lonami Exo
b834b6c16c Feature 'with client:' syntax in the examples 2018-06-27 10:03:26 +02:00
Lonami Exo
dbb81173fa Add an assistant bot example 2018-06-26 15:48:56 +02:00
Lonami Exo
026c0c4f9d Update examples to be async 2018-06-24 12:04:23 +02:00
Lonami Exo
e5ff534e2e Update examples 2018-05-24 10:58:42 +02:00
Lonami Exo
5d9cf513bd Update usage of deprecated methods in the docs 2018-04-25 09:55:34 +02:00
Lonami Exo
35eccc0ba3 Remove unwanted binary file from #389 2018-03-18 20:08:00 +01:00
Lonami Exo
2e31a686e8 Upgrade to layer 75
Captions are now "messages" and also support message entities.
2018-03-02 21:28:33 +01:00
Joscha Götzer
b7a61510bf Add !i for information to the interactive telegram client (#614) 2018-02-23 21:34:15 +01:00
Lonami Exo
3c6f34fe6a Update examples 2018-02-16 21:02:47 +01:00
Lonami Exo
fde0d60f72 Update old interactive example (#546) 2018-01-16 18:36:50 +01:00
Csaba Henk
b9cd9a6639 fix get_dialogs() return type in example
Catching up with 238198db where get_dialogs
return type was changed.
2018-01-04 12:03:29 +01:00
Lonami Exo
d59b17c6fc Clear up confusing error and trailing brace (closes #429) 2017-11-14 09:48:40 +01:00
Tanuj
39a1d5e90d Replace broken auto_replier.py with new code (#389) 2017-10-28 11:06:34 +02:00
Tanuj
403c7bd00a Make pylint happier on print_updates example (#387) 2017-10-26 18:03:24 +02:00
Tanuj
9f9da6adda Remove comma (#376) 2017-10-24 22:08:44 +02:00
Tanuj
d707fd1593 Add example script to print out all updates 2017-10-24 21:32:31 +02:00
Lonami Exo
f6223bd01a Document the InteractiveTelegramClient more nicely 2017-10-21 16:21:58 +02:00
Joscha Götzer
6c375a7aed Add method to .delete_messages() (#282) 2017-10-02 18:59:29 +02:00
Lonami Exo
3805aa3772 Update interactive example to show how to get user from updates 2017-10-01 20:12:27 +02:00
Lonami Exo
ace44965f8 Fix interactive client not receiving updates 2017-10-01 19:56:47 +02:00
Tanuj
0a4a898c49 Remove random 'f' from auto_reply.py example 2017-10-01 12:57:20 +02:00
Tanuj
879621ab70 Add new example usage code for auto-replies (#249) 2017-09-18 20:09:58 +02:00
Lonami Exo
c81537bed0 Simplify the workflow with UpdateState exposing a single flag param 2017-09-08 12:54:38 +02:00
Lonami Exo
b8e881b6b6 Add basic updates processing to ignore updates with lower .pts 2017-09-07 20:17:40 +02:00
Lonami Exo
6f0bd14c2f Use an Enum for the ConnectionMode and support specifying it 2017-09-04 11:24:10 +02:00
Lonami Exo
8ed77418bf Make .download_profile_photo() more friendly 2017-08-23 01:35:12 +02:00
Lonami Exo
9d15008f09 Update interactive example to use .send_file() and .download_media() 2017-08-23 00:55:49 +02:00
Lonami Exo
9e88d9d219 Replace "type is Type" check with "isinstance" 2017-08-05 09:36:07 +02:00
Lonami Exo
9d35a836d1 Fix interactive example not working after #173 2017-07-24 16:56:05 +02:00
Lonami Exo
84bb3bb325 Fix interactive example not using a new parameter name 2017-07-10 15:22:19 +02:00
zed
74a851b5cc Micro code style improvement (#125) 2017-06-17 00:18:31 +02:00
Lonami Exo
279ee81bc3 Stop querying terminal size and other warnings (#115) 2017-06-16 09:34:26 +02:00
Lonami Exo
92088383f7 Fix get_message_history not returning sender on channels (closes #110) 2017-06-15 09:41:39 +02:00
Lonami Exo
1119a2737a Remove markdown "parser" since that's not Telethon-specific 2017-06-10 13:00:39 +02:00
Lonami Exo
44ab85962b Completely change errors (make one class for each) 2017-06-10 11:47:51 +02:00
Lonami Exo
cf65e5b1cf Get rid of signature warnings and use nicer *args instead 2017-06-08 19:03:15 +02:00
Lonami Exo
d788d30de2 Move connect() parameters to init and ignore signature warnings 2017-06-08 16:41:20 +02:00
Lonami Exo
a07c7bd0d0 Move InteractiveClient to examples/ (and stop shipping it to pip) 2017-06-08 14:06:32 +02:00