Commit Graph

53 Commits

Author SHA1 Message Date
Lonami Exo
9cbc088b76 Make disconnect synchronous
This also fixes a bug when auto-reconnecting in MTProtoSender.
2018-10-16 11:56:17 +02:00
Lonami Exo
cca7055fcf Add inline mode to the assistant example 2018-10-12 13:33:55 +02:00
Lonami Exo
8c14259728 Update documentation with new sections 2018-10-06 20:20:11 +02:00
Lonami Exo
0e38ab412b Update examples to make them easier to run 2018-09-04 11:52:18 +02:00
Lonami Exo
a57e9ba2fb Fix-up 5aaa6ec missing comma 2018-09-03 18:14:00 +02:00
Tulir Asokan
5aaa6ec36e Add more commands/update strings in assistant (#981) 2018-09-03 18:10:57 +02:00
Lonami Exo
3a0b091210 Better chat history for the GUI 2018-08-28 16:37:55 +02:00
Lonami Exo
40650f93ce Display chat history and invalid characters on the GUI 2018-08-28 15:55:28 +02:00
Lonami Exo
a2bd5c09ff Document new MultiError (and better links on assistant) 2018-08-24 20:15:01 +02:00
Lonami Exo
7e1a17352d Add new commands to the asisstant and fix some bugs
Such as deleting messages from different groups or triggering
often on common questions such as "one?" -> "Docs for on".
2018-08-24 14:09:55 +02:00
Lonami Exo
a1837431b6 Fix 3.5 compatibility for the GUI example 2018-08-02 22:18:01 +02:00
Lonami Exo
a495f542ef Fix message deletion, replies and chat IDs on the GUI 2018-08-02 21:48:37 +02:00
Lonami Exo
da5914c4a0 Support editing, deleting and replying in the GUI 2018-08-02 21:25:49 +02:00
Lonami Exo
01ede081ff Create a simple example using Tkinter GUI 2018-08-02 20:24:17 +02:00
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