Commit Graph

28 Commits

Author SHA1 Message Date
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