Commit Graph

296 Commits

Author SHA1 Message Date
Lonami Exo
f86339ab17 Remove Conversation API 2021-09-11 14:16:25 +02:00
Lonami Exo
2a933ac3bd Remove sync hack 2021-09-11 14:06:36 +02:00
Lonami Exo
d6326abacb Rename client module as _client 2021-09-11 13:35:35 +02:00
Lonami Exo
f639992baa Replace weird mixin Client classes with free-standing defs
This should take care of the extremely precarious subclassing order.
It should also make IDEs go a lot less crazy.
Documentation and code can be kept separated.
2021-09-11 13:33:27 +02:00
Lonami Exo
af201c12ba Begin writing a migration guide for V2 2021-09-11 12:00:28 +02:00
Lonami Exo
3f5f5dbe48 Update documentation and list of known errors
Closes #3151.
2021-09-11 11:02:10 +02:00
Newbyte
2ea3153cd5
Update docs to reflect current length of login codes in test servers (#3140) 2021-08-28 00:18:22 +02:00
Joshua Coales
e2d97b44c5
Update docs to have fewer grammatical mistakes (#3121) 2021-08-03 18:33:17 +02:00
Lonami Exo
06afd04b07 Update to version 1.23 2021-07-09 20:18:22 +02:00
Lonami Exo
2052b502c8 Update to v1.22 2021-06-19 19:08:02 +02:00
Lonami Exo
7c1ad0cadb Document need to AcceptTermsOfService in apps
Closes #3040.
2021-06-19 18:32:23 +02:00
Lonami Exo
319b6283a9 Update install/test server docs and add new known RPC error 2021-04-21 19:56:57 +02:00
Lonami Exo
5b91adf62d Update documentation
Closes #1733.
2021-03-31 10:54:18 +02:00
Lonami Exo
3d6a2bb945 Update to version 1.21 2021-03-14 11:31:03 +01:00
Lonami Exo
d9691c9342 Update to version 1.20 2021-02-27 16:24:39 +01:00
Lonami Exo
b475a2ecc6 Add a new docs page for Chats vs Channels 2021-02-23 20:58:36 +01:00
Lonami Exo
75db9f70df Update proxy docs and license year 2021-02-12 17:56:46 +01:00
Lonami Exo
b1d6bd564e Fix several typos
Closes #1674.
2021-01-20 18:50:45 +01:00
Lonami Exo
3150726f32 Fix tiny documentation nits
Closes #1659.
2021-01-05 20:03:16 +01:00
Lonami Exo
b192c3e6a3 Update to v1.19 2021-01-05 19:58:41 +01:00
Lonami Exo
4b6c69ac1e Update docs and list of errors
Includes the changes of #1654.
2020-12-19 20:33:20 +01:00
Lonami Exo
e3a194acb4 Add set_proxy to the method summary 2020-11-28 13:07:36 +01:00
Lonami Exo
66a508a174 Update to v1.18 2020-11-28 12:17:25 +01:00
Serhii Dylda
633986cfa6 Replace PySocks with python-socks for Python >= 3.6
See discussion at (https://github.com/LonamiWebs/Telethon/pull/1623)

Small fixes for `local_addr` argument.
2020-11-09 19:59:54 +01:00
Lonami Exo
e4a6ec40cd Update error documentation, summary and license year 2020-11-05 10:49:34 +01:00
Qwerty-Space
d56b27e570
Fix several minor typos (#1603) 2020-10-18 21:11:59 +02:00
Lonami Exo
4db51dff8a Update to v1.17 2020-10-18 14:11:52 +02:00
Lonami Exo
1311b9393c Move alternative libraries to the wiki
It doesn't make sense to track what happens to Telegram's ecosystem
in the repository of a specific library. The wiki is better suited
for this and can be trivially updated by anyone, allowing it to better
evolve.
2020-10-16 11:00:14 +02:00
Lonami Exo
cf1645b598 Improve documentation for ParticipantPermissions 2020-10-06 11:14:16 +02:00
Lonami Exo
52a247c156 Update documentation to include the new friendly method 2020-10-05 10:52:42 +02:00
daaawx
8cbaacabdb
Add missing word in docs (#1538) 2020-09-10 14:51:31 +02:00
Lonami Exo
bc799fd82c Remove usage of the main group username in the docs 2020-08-23 11:45:45 +02:00
Lonami Exo
3c56a6db4d Update to v1.16.1 2020-08-10 16:19:31 +02:00
Lonami Exo
34861ad1bc Update to v1.16 2020-07-28 18:12:24 +02:00
Lonami Exo
f18ab08334 Add new friendly method to get channel stats 2020-07-26 13:45:30 +02:00
Lonami Exo
1c3e7dda01 Avoid explicitly passing the loop to asyncio
This behaviour is deprecated and will be removed in future versions
of Python. Technically, it could be considered a bug (invalid usage
causing different behaviour from the expected one), and in practice
it should not break much code (because .get_event_loop() would likely
be the same event loop anyway).
2020-07-25 18:39:35 +02:00
Lonami Exo
e44926114a Bump to v1.15 2020-07-04 13:29:43 +02:00
Lonami Exo
3f74f83964 Move qrlogin with the rest of custom types 2020-06-06 13:47:56 +02:00
Lonami Exo
bc03419902 Move doc page of projects using Telethon to the wiki
New URL: https://github.com/LonamiWebs/Telethon/wiki/Projects-using-Telethon
2020-06-06 13:47:56 +02:00
Lonami Exo
c904b7ccd8 Add a friendly method for QR login
Closes #1471.
2020-06-05 21:58:59 +02:00
Antoni Mur
6c7cfd79b9
Add Taas to the list of alternatives in other languages (#1474) 2020-05-27 19:34:27 +02:00
Lonami Exo
8330635a72 Bump to v1.14.0 2020-05-26 09:31:36 +02:00
Komron Aripov
0f1f655e5d
Fix some missing things in the docs listing other libraries (#1445) 2020-04-29 15:42:59 +02:00
Ali Gasymov
202a8a171b
Update links to other MTProto libraries (#1442) 2020-04-27 20:12:49 +02:00
Lonami Exo
67a9718f9e Bump to v1.12.0 2020-04-20 15:12:00 +02:00
Lonami Exo
15f30ed942 Update documentation with some fixes and MongoDB sessions
Closes #1403 and #1406.
2020-04-01 19:56:17 +02:00
Lonami Exo
e3d8109110 Fix a doc typo and update projects using the lib 2020-03-11 10:02:19 +01:00
Lonami Exo
64752d89fc Fix 1.11 changelog 2020-02-21 11:41:18 +01:00
Lonami Exo
f21abcd529 Update to v1.11 2020-02-20 20:57:17 +01:00
Lonami Exo
7ffb87170b Update some URLs
Some were out of date, some were examples pointing to a personal
link, which were replaced with generic examples.
2020-02-20 11:50:15 +01:00
Lonami Exo
8bd60f7cde Update out-of-date docs 2020-02-11 16:44:25 +01:00
Lonami Exo
22e645e22f Update to layer 109 2020-01-23 13:43:20 +01:00
Lonami Exo
da9505fa3c Add some missing words in the docs 2020-01-19 13:25:58 +01:00
Lonami Exo
3c253734ac Clear old docs and fix formatting in ConnectionError messages 2020-01-07 12:20:01 +01:00
Lonami Exo
5d7e9f3879 Improve doc page on RPC errors (#1350) 2019-12-27 11:27:00 +01:00
NotAFile
30fdf17902 add documentation on test setup 2019-12-07 23:41:02 +01:00
Lonami Exo
57dd0827f4 Slight improvement on ChatAction's docs 2019-11-10 14:59:01 +01:00
painor
38b929b973 Fix several typos (#1328) 2019-11-10 11:29:43 +01:00
Lonami Exo
6206a1a524 Minor documentation update 2019-10-21 11:45:31 +02:00
Lonami Exo
a360d74a4c Mention pomegranate under projects using the library 2019-09-27 10:41:01 +02:00
Lonami Exo
d1ddfd09b6 Update missing links in the documentation summary 2019-09-24 16:19:56 +02:00
Lonami Exo
47956ddbca Fix events.Album and minor docs nit, bump to v1.10.1 2019-09-09 19:21:03 +02:00
Lonami Exo
8ded667a6b Update to v1.10 2019-09-08 11:33:19 +02:00
Lonami Exo
67183ff9e8 Improve method signatures in the docs 2019-09-08 10:56:35 +02:00
Lonami Exo
e1905d0d7a Avoid using telethon.sync in the examples 2019-08-13 23:33:39 +02:00
Lonami Exo
7a78aebb12 Update to v1.9.0 2019-07-06 19:38:18 +02:00
Lonami Exo
97e4d83593 Rename and clarify docs for edit_permissions 2019-07-06 19:31:33 +02:00
Lonami Exo
8e36bb4c4d Link Python keywords with Python's documentation 2019-07-06 12:11:00 +02:00
Lonami Exo
99b15b916c Turn UserUpdate attributes into properties
This aids discoverability, makes them lazily-loaded,
and in general is more consistent and easier to extend.
2019-07-04 10:17:40 +02:00
Lonami Exo
7285b156f4 Create events.Album (#1216) 2019-06-30 16:34:34 +02:00
Lonami Exo
71979e7b23 Document some special method names 2019-06-30 16:34:34 +02:00
Lonami Exo
7249d01709 Further clarify things in the documentation 2019-06-28 20:50:04 +02:00
Lonami Exo
2a7d4317bd Add quart-based example (#1207) 2019-06-27 13:55:54 +02:00
Lonami Exo
d61bb2e87f Document MTProto Proxy usage (#1205) 2019-06-15 21:54:24 +02:00
Dmitry D. Chernov
93f4de8792 Update link to the GitHub repository of 'cryptg' package 2019-06-12 12:23:27 +10:00
Lonami Exo
51de0bd2da Update documentation with intersphinx and better summaries 2019-06-11 11:09:22 +02:00
Lonami Exo
9752f66eab Minor updates to the documentation and errors 2019-06-07 15:48:34 +02:00
Lonami Exo
e47f3ec1d6 Clarify some aspects of the documentation 2019-06-01 16:28:20 +02:00
Lonami Exo
30a0e39060 Update to v1.8.0 2019-05-30 21:31:07 +02:00
Lonami Exo
5832ab2f31 Create new client.pin_message method 2019-05-30 17:15:50 +02:00
Lonami Exo
9ea686ab14 Create new client.iter_profile_photos method 2019-05-30 16:51:19 +02:00
Lonami Exo
80f19bd1f0 Point to the new domains 2019-05-22 11:29:46 +02:00
Lonami Exo
a43830d403 Fix updates introduction and add more projects using Telethon 2019-05-21 13:26:34 +02:00
Lonami Exo
58f3225fa6 Minor tweaks to the installation section of the docs 2019-05-21 10:13:25 +02:00
Lonami Exo
da5c801b4d Add new section for people coming from Bot API 2019-05-19 12:40:52 +02:00
Lonami Exo
313caf440e Add friendly methods for archiving dialogs 2019-05-10 18:12:16 +02:00
Lonami Exo
aa1eec93be Use the friendly pigments theme 2019-05-09 14:22:35 +02:00
Lonami Exo
fbce902cf8 Fix minor documentation issue regarding pre tags 2019-05-09 14:13:43 +02:00
Lonami Exo
7f88238d8f Update external links to the documentation 2019-05-09 14:09:22 +02:00
Lonami Exo
0a3d6106f0 Completely overhaul the documentation 2019-05-09 12:50:09 +02:00
Lonami Exo
10251f9782 Create a new Message.file property (#1168) 2019-05-08 18:41:40 +02:00
Lonami Exo
c6691dc6a8 Update the reference with even more types and other docs 2019-05-07 21:25:55 +02:00
Lonami Exo
61613ab6ac Create a new page with a summary of the method reference 2019-05-06 11:38:26 +02:00
Lonami Exo
1e17ef1c98 Apply several lints 2019-05-03 21:38:41 +02:00
Lonami Exo
01eb49d3a4 Update to v1.7.1 2019-04-24 12:46:48 +02:00
Lonami Exo
665c844c9d Update to v1.7 2019-04-22 20:05:45 +02:00
Lonami Exo
0662ead33b Properly document all optional dependencies 2019-03-21 16:55:32 +01:00
Lonami Exo
a5f5d6ef23 Minor doc updates, fixes and improvements
In particular, removed code which no longer worked, made light
theme easier on the eyes, added slight syntax highlightning,
and fixed search for exact matches.
2019-03-16 17:19:19 +01:00
Lonami Exo
dd1ca16ded Update docs, usability and errors for all methods 2019-03-02 19:01:20 +01:00
Lonami Exo
8429f9bd3c Update to v1.6 2019-02-27 21:04:18 +01:00