Commit Graph

450 Commits

Author SHA1 Message Date
Dan
228828459c Update FAQs 2020-08-24 09:16:25 +02:00
Dan
303712f599 Update docs 2020-08-22 16:09:38 +02:00
Dan
538f1e3972 Deep rewrite: preparing for v1.0
- Pyrogram core is now fully asynchronous
- Ditched Python 3.5, welcome 3.6 as minimum version.
- Moved all types to pyrogram.types
- Turned the Filters class into a module (filters)
- Moved all filters to pyrogram.filters
- Moved all handlers to pyrogram.handlers
- Moved all emoji to pyrogram.emoji
- Renamed pyrogram.api to pyrogram.raw
- Clock is now synced with server's time
- Telegram schema updated to Layer 117
- Greatly improved the TL compiler (proper type-constructor hierarchy)
- Added "do not edit" warning in generated files
- Crypto parts are executed in a thread pool to avoid blocking the event loop
- idle() is now a separate function (it doesn't deal with Client instances)
- Async storage, async filters and async progress callback (optional, can be sync too)
- Added getpass back, for hidden password inputs
2020-08-22 08:05:05 +02:00
CyanBook
cefad3f89a
Update download & upload limits with the newest one (#454) 2020-08-04 01:22:48 +02:00
Dan
aaedeffff9 Update instructions for accessing test servers in tdesktop 2020-07-26 23:17:53 +02:00
Dan
3f47de47d9 Merge branch 'develop' of https://github.com/pyrogram/pyrogram into develop 2020-07-17 13:38:16 +02:00
Dan
5a0a0b67bf Use f-string in the main example 2020-07-15 10:58:15 +02:00
Alisson Lauffer
531069b1e2
Some fixes and speed improvments (#439)
* Use raw string for re pattern

* Trim trailing whitespaces from docstrings and code

* Use isinstance() instead of type() for typechecking

* Remove unused imports
2020-07-12 06:43:30 +02:00
Hearot
3ec6b22d85
Add references to Pyrubrum (#429) 2020-07-08 15:43:17 +02:00
Dan
b4467e82af Update Bot API diagram in docs 2020-05-25 14:31:31 +02:00
Dan
2563c1a6be Add copy button prompt text to ignore 2020-05-02 21:17:05 +02:00
Dan
fa157b59f1 Add support for ChosenInlineResult objects 2020-04-03 17:15:28 +02:00
Dan
945effc4a9 Add tabs to docs (tgcrypto.rst) 2020-04-01 22:39:39 +02:00
Dan
0b93049822 Add content lists on relevant pages 2020-04-01 20:08:46 +02:00
Dan
3f17e88836 Add example on how to handle flood wait errors in the FAQ 2020-04-01 18:01:10 +02:00
Dan
2f975c447e Add initial explanation on how to build docs 2020-03-30 13:05:24 +02:00
Dan
75a39962f2 Update docs copyright year 2020-03-30 13:03:35 +02:00
Dan
fd0908227e Use -U instead of --upgrade (more concise) 2020-03-30 13:03:02 +02:00
Dan
77ecdd21fb Move docs scripts into a dedicated folder 2020-03-30 13:02:23 +02:00
Dan
441b89a8ac Add FAQs about Flood limits and sqlite3.OperationalError 2020-03-30 13:01:52 +02:00
Dan
0681ea72f7 Add FAQ about webhooks 2020-03-30 12:02:27 +02:00
Dan
e741bcdb26 Drop [fast] setup directive 2020-03-30 11:47:25 +02:00
Dan
c892e85d52 Remove repeated word 2020-03-21 16:01:48 +01:00
Dan
1996fb1481 Update Copyright 2020-03-21 15:43:32 +01:00
Dan
b41a570d67
Update Visual C++ 2015 Build Tools download link 2020-02-05 16:45:19 +01:00
Dan
deea521c50 Update YTAudioBot details in the powered-by section of the docs 2020-02-01 16:36:27 +01:00
Dan
42c9bafa0c Update copyright notice 2020-02-01 14:04:33 +01:00
Dan
f5610c77e5 Merge branch 'develop' of https://github.com/pyrogram/pyrogram into develop 2019-12-30 11:01:40 +01:00
Dan
417cc498fe Add FAQ about file_ref values 2019-12-30 11:01:21 +01:00
Dan
0189e3a66f
Update glossary.rst 2019-12-26 16:36:29 +01:00
Dan
227a5aaf90 Add FAQ about why stop, restart, add/remove_handler could make the code hang 2019-10-27 10:13:59 +01:00
Dan
012369005e Remove an MTProto-only feature hint that's not valid anymore 2019-10-27 10:13:18 +01:00
Dan
ff561f93c9 Add sphinx_copybutton extension for easy copy pasting from snippets
Thanks @ColinTheShark
2019-10-19 16:25:32 +02:00
Dan
a7c10bfb28 Remove auto-auth.rst 2019-09-09 16:07:14 +02:00
Dan
4e119b27bd Don't stick navigation sidebar of documentation 2019-08-21 09:32:58 +02:00
Dan
8d700239d9 Update PDF fonts 2019-08-17 13:12:13 +02:00
Dan
ebad34cbc7 Fix smart-plugins.rst docs 2019-08-16 22:47:31 +02:00
Dan
030fbcae65 Merge remote-tracking branch 'origin/develop' into develop 2019-08-15 16:03:23 +02:00
Dan
dc74c441cc Drop Python 3.4 support (EOL). Bump minimum requirement to Python 3.5.3
Closes #302
2019-08-15 16:03:03 +02:00
Alisson Lauffer
c78dbe2259 Remove python-dev from docs for Termux (#301) 2019-08-15 14:05:52 +02:00
Dan
f87aae1dbd Add FAQ about "database is locked" error 2019-08-06 13:16:48 +02:00
Dan
b1c63c18d6 Small document fix 2019-08-06 00:11:51 +02:00
Dan
eeda40002d Better explanation of workdir Client parameter 2019-08-06 00:08:31 +02:00
Dan
3fedae8d82 Update faq.rst 2019-08-01 17:26:59 +02:00
Dan
f8f2ad5a60 Tidy up docs 2019-08-01 12:44:34 +02:00
Dan
ce8d9a5005
Merge pull request #283 from MrNaif2018/develop
Add section to docs about scheduling
2019-08-01 12:37:50 +02:00
Dan
6973f58488
Update scheduling.rst 2019-08-01 12:37:22 +02:00
MrNaif2018
93a2fed8e6
Improved examples, added links to docs 2019-08-01 10:11:29 +03:00
Dan
0302a27b7e Update FAQs 2019-07-25 11:15:14 +02:00
MrNaif2018
bb1470e57f
Add section to docs about scheduling 2019-07-15 15:37:18 +03:00