Commit Graph

278 Commits

Author SHA1 Message Date
Lonami Exo
0fc97a3e8c Update to v1.4 2018-11-03 12:46:19 +01:00
Lonami Exo
8e6b98669a Get rid of full_sync 2018-11-03 12:46:19 +01:00
Lonami Exo
15546fd957 Update client package documentation missing some subclasses 2018-10-28 10:21:03 +01:00
Lonami Exo
0d8b15a109 Add #haste command to assistant and fix typo 2018-10-26 10:25:29 +02:00
Lonami Exo
2c61c50671 Save session on connect and fix some typos
The session is saved upon connecting with the hope to make
sure that the authorization key gets saved to disk before
the next run.
2018-10-24 16:39:59 +02:00
Lonami Exo
74f7ae525f Document InlineBuilder 2018-10-12 12:38:46 +02:00
Lonami Exo
26c773392e Explain run_until_disconnected in the docs 2018-10-07 11:18:40 +02:00
Lonami Exo
8c14259728 Update documentation with new sections 2018-10-06 20:20:11 +02:00
Lonami Exo
785071a5cd Update to v1.3 2018-09-22 19:37:16 +02:00
Lonami Exo
ec0aa65fe1 An user -> a user 2018-09-22 19:18:42 +02:00
Lonami Exo
d5d3733fd4 Create events.register and siblings for "handler templates"
This can be thought of as a different approach to Flask's blueprints.
2018-09-22 12:51:58 +02:00
Lonami Exo
cb6f980277 Better autocast to InputPeerDialog and documentation 2018-09-22 10:56:37 +02:00
Lonami Exo
9275a9fcbb Fix several typos and misleading docs (#987, #990) 2018-09-19 17:51:18 +02:00
Lonami Exo
0bb0d0bd5d Clarify Creating a Client in the docs 2018-08-27 02:26:06 +02:00
Lonami Exo
a2bd5c09ff Document new MultiError (and better links on assistant) 2018-08-24 20:15:01 +02:00
Lonami Exo
bb8f44f608 Add a new "Mastering Telethon" section to the docs 2018-08-24 13:21:03 +02:00
Lonami Exo
7efa53fedf Update to v1.2 2018-08-14 18:48:56 +02:00
Lonami Exo
0011f19f8b Create a StringSession 2018-08-05 16:24:34 +02:00
Lonami Exo
d1f2784dff Update examples with the TelegramClient 2018-08-05 12:29:13 +02:00
Lonami Exo
7cce7aa3e4 Return helpers.TotalList instances on client.get_ methods 2018-08-02 23:00:10 +02:00
Lonami Exo
7a2d7d98ad Implement client.inline_query() 2018-08-01 01:06:47 +02:00
Lonami Exo
72a04a877f Document editBanned.until_date 2018-07-29 12:48:20 +02:00
Lonami Exo
7778b665db Update to v1.1.1 2018-07-23 12:44:46 +02:00
Lonami Exo
3d7bff64c2 Update to v1.1 2018-07-21 15:29:09 +02:00
Lonami Exo
71309c886e Document usage of the TelegramClient with examples 2018-07-10 21:07:21 +02:00
Lonami Exo
8eecd9c226 Reuse code to get chat and sender 2018-07-10 17:59:13 +02:00
Lonami Exo
8c28be04bc Create a custom.Button class and support send_message(buttons=...) 2018-07-10 17:59:13 +02:00
josephbiko
e6981e7676 Remove empty except (#887) 2018-07-09 20:54:43 +02:00
Lonami Exo
1437b69829 Update to v1.0.4 2018-07-09 12:32:47 +02:00
Lonami Exo
3a9cce8720 Add missing async/await to events' documentation 2018-07-08 15:11:10 +02:00
Lonami Exo
b237947af1 Update to v1.0.3 2018-07-04 15:41:11 +02:00
Lonami Exo
dd0eb7a90e Explicitly open files as 'r' instead of leaving it out 2018-06-29 11:34:57 +02:00
Lonami Exo
cedf90eb57 Update to v1.0.2 2018-06-28 15:37:30 +02:00
Lonami Exo
90ea4ba8db Add client.idle -> client.run_until_disconnected to changelog 2018-06-28 14:05:18 +02:00
Lonami Exo
9bb5cfd871 Mention telethon-sync 2018-06-28 09:40:38 +02:00
Lonami Exo
3154575ab6 Update to v1.0.1 2018-06-27 19:55:37 +02:00
Lonami Exo
72835dfb44 Update to v1.0 2018-06-27 13:41:20 +02:00
Lonami Exo
184240953d Make more emphasis in the magic sync module 2018-06-25 21:34:48 +02:00
Lonami Exo
d65f8ecc0d Document the magic sync module 2018-06-25 21:14:58 +02:00
Lonami Exo
0d09f9d8c1 Create a custom.Forward class 2018-06-25 11:34:10 +02:00
Lonami Exo
ae47fd37b0 Update to v1.0-rc1 2018-06-24 15:51:24 +02:00
Lonami Exo
026c0c4f9d Update examples to be async 2018-06-24 12:04:23 +02:00
Lonami Exo
f614d3836b Finish up asyncio docs 2018-06-22 14:44:59 +02:00
Lonami Exo
f733f8e565 Rewrite the first part of the docs for asyncio 2018-06-21 21:54:54 +02:00
Lonami Exo
c85ba4accc Revisit documentation, cross-references and unnecessary indents 2018-06-20 11:06:03 +02:00
Lonami Exo
1b7e7320a4 Clean-up documentation and include telethon.client 2018-06-19 21:24:26 +02:00
Lonami Exo
9c63def14c Fix docs' typos 2018-06-16 21:51:13 +02:00
Lonami Exo
8c8a0153ef Revert 9db9d1e's count and fix typo 2018-06-03 15:20:52 +02:00
Lonami Exo
ab9d10c569 Update to v0.19.1 2018-06-03 14:20:50 +02:00
Lonami Exo
f7222407de Document custom.Message 2018-06-02 12:52:38 +02:00
Lonami Exo
ae87d452c8 Clean-up docs and merge some imports 2018-05-30 18:55:01 +02:00
Lonami Exo
cffef411b2 Enhance documentation 2018-05-17 12:00:22 +02:00
Lonami Exo
bda7eb0ef1 Update to v0.19 2018-05-07 21:30:12 +02:00
Lonami Exo
f442e01560 Documentation enhancements 2018-05-06 13:03:30 +02:00
Lonami Exo
5d9cf513bd Update usage of deprecated methods in the docs 2018-04-25 09:55:34 +02:00
Lonami Exo
f9b9fa6e70 Update to v0.18.3 2018-04-15 15:41:11 +02:00
Lonami Exo
34f4730337 Add new examples to the docs and update project structure 2018-04-15 14:04:58 +02:00
Lonami Exo
3ed81481f8 Enhance setup.py gen command 2018-04-15 13:19:25 +02:00
Lonami Exo
4da7df6349 Several documentation fixes and additions 2018-04-14 12:03:08 +02:00
Jeff
259bb6ace1 Several documentation fixes/additions (#750) 2018-04-08 14:15:26 +02:00
Lonami Exo
baa6976a0b Fix broken links, add more examples and a new section 2018-04-06 19:00:21 +02:00
Lonami Exo
0980d828d8 Modify events documentation to list the new files 2018-04-05 20:19:33 +02:00
Lonami Exo
395e702586 Make py:obj default Sphinx's role 2018-03-28 16:03:47 +02:00
Kyle2142
de67531f97 Add examples for edit_2fa() (#729) 2018-03-27 19:47:10 +02:00
Lonami Exo
755aa363ee Update some out of date examples in the documentation 2018-03-27 18:22:01 +02:00
Lonami Exo
1fdf976c04 Update to v0.18.2 2018-03-27 18:02:55 +02:00
Lonami Exo
04695d3657 Update docs regarding 2FA and getting entities by ID 2018-03-27 17:52:39 +02:00
Jeff
08d71f69ee Fix author mismatch in the documentation (#726) 2018-03-27 10:03:45 +02:00
Lonami Exo
13e59983af Slightly change docs for events (#668) 2018-03-24 12:42:19 +01:00
Lonami Exo
43c6896481 Add a custom role for TL references and make use of it 2018-03-23 21:42:17 +01:00
Lonami Exo
c6d821910e Mention that codes can expire immediately 2018-03-22 19:20:35 +01:00
Lonami Exo
dce0fd9e03 Add missing documentation for telethon.tl.custom and crosslinks 2018-03-22 19:02:08 +01:00
Lonami Exo
89ae0cb164 Make readthedocs build run without warnings 2018-03-21 08:55:13 +01:00
Lonami Exo
7825994393 Update to v0.18.1 2018-03-17 17:38:46 +01:00
Lonami Exo
6f820cce97 Mention add_event_handler in the docs and fix small nit 2018-03-17 17:08:11 +01:00
Tulir Asokan
50256e23e9 Add addon-style session dev instructions (#698) 2018-03-17 16:35:41 +01:00
Lonami Exo
1e3120b0b6 Bring back report_errors to the constructor 2018-03-15 10:22:21 +01:00
Lonami Exo
423f0f366c Update test servers documentation (#700) 2018-03-15 09:29:54 +01:00
Lonami Exo
d5bc3c1a6c Fix misleading documentation regarding report_errors 2018-03-14 21:05:50 +01:00
Lonami Exo
81944262fb Clear-up documentation by separating reference from examples 2018-03-14 19:38:36 +01:00
Lonami Exo
fe627d1970 Update to v0.18 2018-03-04 12:03:09 +01:00
Lonami Exo
393f505dc8 Put more emphasis on common mistakes when getting entities by IDs 2018-03-03 23:51:35 +01:00
Lonami Exo
854c42b7ef Add a file= parameter to client.send_message() 2018-03-03 23:12:05 +01:00
Lonami Exo
1e420f7f91 Document the new abstract session better 2018-03-03 12:13:42 +01:00
Lonami
30f7a49263
Abstract Session class (merge #657 from tulir/sessions) 2018-03-03 11:33:47 +01:00
Tulir Asokan
9bf5cb7ed8 Add new sessions docs 2018-03-03 12:28:18 +02: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
835ff51e25 Multiple small changes/fixed typos to docs/error messages (#623) 2018-03-01 13:21:28 +01:00
Joscha Götzer
0b662f3b04 Support stopping propagation of events (#622) 2018-02-27 11:30:42 +01:00
Lonami Exo
e5aecca79c Update to v0.17.4 2018-02-24 18:08:14 +01:00
Lonami Exo
b136074340 Update to v0.17.3 2018-02-19 15:29:02 +01:00
Lonami Exo
7c647b57e3 Mention cryptg as an optional dependency 2018-02-17 12:14:23 +01:00
Lonami Exo
8194288797 Update to v0.17.2 2018-02-15 22:43:07 +01:00
Lonami Exo
e9dd93f09c Further clarify the documentation (flood wait, lists and inputs) 2018-02-15 09:29:26 +01:00
Lonami Exo
6261affaa1 Update to v0.17.1 2018-02-09 17:16:28 +01:00
Lonami
f91b76b063
Merge pull request #595 from LonamiWebs/events
Friendlier update handling through Events
2018-02-09 16:42:17 +01:00
Lonami Exo
10ebc442c9 Add a friendlier introduction to events 2018-02-09 16:41:23 +01:00
Lonami Exo
14389a0ef2 Better document the events module 2018-02-09 15:56:42 +01:00
Kyle2142
e15dd05975 Corrected info in Admin Permissions example (#589) 2018-02-09 09:07:25 +01:00
tsujp
4362c02e92 Add further Heroku instructions to session documentation (#588) 2018-02-06 12:13:38 +01:00
tsujp
f200369a93 Add Heroku instructions to sessions documentation (#586) 2018-02-06 11:21:09 +01:00
Lonami Exo
06bc761a5b Update to v0.17 2018-02-03 16:03:17 +01:00
Lonami Exo
a7888bfaf8 Fix tiny typo on the documentation 2018-01-30 09:11:40 +01:00
Lonami Exo
182b6fc1cb Update old examples 2018-01-21 10:57:58 +01:00
Lonami Exo
ec38bd94d8 Fix .rst not showing code blocks on "unknown" languages 2018-01-20 19:50:48 +01:00
Lonami Exo
b716c4fe67 Several documentation enhancements and build warnings fixes
- Made the documentation even more friendly towards newbies.
- Eased the usage of methods like get history which now set
  a default empty message for message actions and vice versa.
- Fixed some docstring documentations too.
- Updated the old normal docs/ to link back and forth RTD.
- Fixed the version of the documentation, now auto-loaded.
2018-01-20 11:47:17 +01:00
Lonami Exo
519c113b58 Update to v0.16.2 2018-01-19 21:17:57 +01:00
Lonami Exo
87a77e79cb Note the errors package on the RPC errors section 2018-01-14 10:53:29 +01:00
Lonami Exo
77301378f8 Make .start() more friendly by asking phone if not given
Ping #530
2018-01-13 11:55:12 +01:00
Lonami
ef3ea11e38
Remove pesky minus character hiding example 2018-01-12 18:21:02 +01:00
Noah Overcash
6cb8f2e3da Update pip references with pip3 (#527) 2018-01-12 10:08:40 +01:00
Lonami Exo
1fd20ace2c Update to v0.16.1 2018-01-11 22:18:58 +01:00
Lonami Exo
4f441219b1 Fix not all docs using new start method 2018-01-11 12:45:59 +01:00
Joscha Götzer
80f81fe69a Added .start() convenience method to quickly connect/authorize (#528) 2018-01-11 12:43:46 +01:00
Lonami Exo
146a91f837 Add a brief description for newcomers 2018-01-09 18:04:51 +01:00
Lonami Exo
c12af5e412 Remove references to the wiki 2018-01-08 14:04:04 +01:00
Lonami Exo
f2fbdc6416 Fix a few more issue styles with RTD (mostly lists/nested md) 2018-01-06 13:37:46 +01:00
Lonami Exo
c039ba3e16 Be consistent with the titles in the changelog 2018-01-05 23:48:21 +01:00
Lonami Exo
60594920bd Add changelog from GitHub releases to RTD 2018-01-05 23:19:58 +01:00
Lonami Exo
a489b4b18b Clean up some more twirks on RTD and update docstrings 2018-01-05 13:30:21 +01:00
Lonami Exo
cb45e8fca9 Clean up and complete RTD documentation 2018-01-05 00:59:53 +01:00
Alihossein Shahabi
fd291fa014 Fix typo in sessions.rst (#491) 2017-12-14 12:16:57 +01:00
Jeff
9f033be05a fix in-docs links 2017-11-20 17:26:31 +08:00
Jeff
07d642a354 tiny fix for readthedocs 2017-11-20 13:58:42 +08:00
Jeff
d0c9324212 final fix for readthedocs 2017-11-20 12:19:53 +08:00
Jeff
f6ec7e47a7 add a bunch more readthedocs from wiki 2017-11-20 12:12:31 +08:00
Jeff
34e7ae026e add requirements.txt for readthedocs 2017-11-20 01:04:51 +08:00
Jeff
231ecf3f2a add readthedocs files 2017-11-20 00:56:05 +08:00