Commit Graph

502 Commits

Author SHA1 Message Date
Dan
b057dcb39d Small fixes around docs 2020-08-24 15:24:06 +02:00
Dan
d86d8530ce Add FAQ about PyInstaller FileNotFoundError 2020-08-24 10:57:38 +02:00
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
Dan
5fe8fba3df Fix smart plugins load/unload documentation 2019-07-11 17:13:43 +02:00
Dan
448a65bb6d Fix some cross references 2019-07-09 20:02:51 +02:00
Dan
efcf7d5503 Move single methods, types and bound-methods to separated pages
The resulting pages were huge and were also taking a while to load
This will improve docs navigation
2019-07-09 19:03:46 +02:00
Dan
13d6ce1495 Update DC IPs 2019-07-09 19:02:54 +02:00
Dan
9059bab4d0
Merge pull request #268 from mendelmaleh/develop
Add message.web_page attributes
2019-07-03 20:40:36 +02:00
Mendel E
d363a18e84 Initial docs for WebPage 2019-07-02 10:46:08 -04:00
Dan
3f2f40af02 Update docs index example 2019-07-01 14:46:33 +02:00
Dan
7a1d6002a9 Update robots.txt 2019-07-01 14:29:02 +02:00
Dan
992ef7bf52 Fix sphinx warnings 2019-07-01 13:37:12 +02:00
Dan
c76a62964f Update: consistent examples 2019-06-30 18:51:04 +02:00
Mendel E
2c1834b1b2 Add .(kick|unban|restrict|promote)_member bound methods to Chat 2019-06-29 22:12:59 -04:00
Mendel E
54c8e24f48 Add .set_ bound methods to Chat 2019-06-28 17:07:38 -04:00
Dan
88632ae265 Add block_user and unblock_user to docs 2019-06-28 16:29:16 +02:00
Dan
155580649a Update filters: Make the name argument optional 2019-06-28 11:11:59 +02:00
Dan
b6f508711a Many minor documentation enhancements 2019-06-27 23:16:21 +02:00
Dan
9f231bb880 Update errors documentation page 2019-06-27 23:15:46 +02:00
Dan
a44c996302 Revamp text-formatting page, add info about the new styles 2019-06-27 23:15:12 +02:00
Dan
5f2d76ceca Remove outdated note 2019-06-23 01:34:27 +02:00
Dan
b4f0f411bd Small documentation fixes 2019-06-23 01:32:04 +02:00
Dan
bf71989bd0 Enhance PDF building 2019-06-23 01:31:18 +02:00
Dan
267797051c Fix broken link 2019-06-23 01:30:50 +02:00
Dan
a398bc5fc7 Rename CallbackQuery's bound-methods: edit_* -> edit_message_* 2019-06-21 02:00:29 +02:00
Dan
11b4b947ac Small rewords 2019-06-20 16:40:12 +02:00
Dan
83900f398f Specify that 3.5.3 or higher is required for asyncio 2019-06-20 16:10:18 +02:00
Dan
a928981b1f Link back to the source of information, where applicable 2019-06-20 16:07:57 +02:00
Dan
d06289c88d Add FAQ about why responses might be slow 2019-06-20 15:31:02 +02:00
Dan
48197cb222 Update FAQ: Starting from v0.14.1 photo-like file id formats changed 2019-06-20 13:56:23 +02:00
Dan
36757c125c Tiny documentation fix 2019-06-20 13:55:05 +02:00
Dan
f16ca8b9ea Small documentation fixes 2019-06-20 03:39:12 +02:00
Dan
d1cd21916a Add storage-engines.rst page to docs 2019-06-19 16:12:06 +02:00
Dan
1f04ce38fc Fix glossary term 2019-06-19 16:11:53 +02:00
Dan
0be0e2da56 Add export_session_string method to docs 2019-06-19 16:11:25 +02:00
Dan
ef8f3bd6e1 Revert: CallbackQuery edit_* bound methods renamed to edit_message_* 2019-06-14 04:53:04 +02:00
Dan
61ed44ff5f Add edit_inline_* methods to deal with inline messages only 2019-06-14 04:52:05 +02:00
Dan
3ed1bb0d86 Rename CallbackQuery edit_* bound methods to edit_message_*
We are editing the message the callback query comes from, not the
callback query itself.
2019-06-14 03:57:12 +02:00
Dan
3ae77d55c7 Rename edit -> edit_text and reply -> reply_text bound methods 2019-06-14 02:52:01 +02:00
Dan
da4ff268a4 Add edit, edit_caption, edit_media and edit_reply_markup bound methods to the CallbackQuery type 2019-06-14 02:46:27 +02:00
Dan
a2d1752e89 Update information about Telegram DCs. Also add IPv6 addresses
Thanks Fela for pointing it out that only DC3 is an alias, DC2 and DC4
are both functioning independently, as per latest information.
2019-06-12 22:26:41 +02:00
Dan
c8b4f3dac9 Add FAQ about Pyrogram stability and reliability 2019-06-12 14:05:59 +02:00
Dan
1ce749a562 Hint about the Advanced Usage page in the method index 2019-06-12 12:42:39 +02:00
Dan
a21858a262
Merge pull request #251 from pyrogram/types-revamp
Types revamp
2019-06-12 10:48:10 +02:00
Dan
7baa00353d Add a FAQ about DC migration 2019-06-11 15:59:39 +02:00
Dan
c8b757acee Move advanced utility methods somewhere else in the docs index 2019-06-11 15:59:15 +02:00
Dan
1ee8487712 Merge branch 'develop' into types-revamp
# Conflicts:
#	pyrogram/client/methods/users/get_profile_photos.py
2019-06-11 14:45:21 +02:00
Dan
6ddb28c3e4 Small docs layout fixup 2019-06-10 17:41:55 +02:00
Dan
34616ebf61 Add .archive() and .unarchive() bound methods to User 2019-06-08 19:30:53 +02:00
Dan
6e3d8ca20b Add .archive() and .unarchive() bound methods to Chat 2019-06-08 19:28:47 +02:00
Dan
5f3b7b97aa Add archive_chats and unarchive_chats methods 2019-06-08 19:15:19 +02:00