Commit Graph

492 Commits

Author SHA1 Message Date
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
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
Dan
94d90efc80 Rename section from "Keyboards" to "Bots & Keyboards" 2019-06-08 15:27:53 +02:00
Dan
a769fdfd20 Remove GameHighScores type 2019-06-08 15:16:51 +02:00
Dan
cfbc5298df Remove Messages type 2019-06-08 15:13:52 +02:00
Dan
797de058e8 Remove ProfilePhotos type 2019-06-08 14:09:16 +02:00
Dan
c8fd446cb6 Remove Dialogs type 2019-06-08 14:00:00 +02:00
Dan
2db2ca3283 Remove ChatMembers type 2019-06-08 13:50:17 +02:00
Dan
2e05c81a5c Update docs about Telegram data centers 2019-06-08 11:33:52 +02:00
Dan
317a647583 Reword some parts of the docs 2019-06-07 15:50:15 +02:00
Dan
b205c6cce0 Rename Photos to ProfilePhotos 2019-06-06 19:09:52 +02:00
Dan
8151270a94 Update docs 2019-06-06 18:25:23 +02:00
Dan
0ea512bbc3 Update docs: add release notes from GitHub 2019-06-05 11:05:01 +02:00
Dan
a425e00a96 Add read_history method 2019-06-04 19:16:30 +02:00
Dan
806e0d79ec Tiny fixup 2019-06-04 19:11:40 +02:00
Dan
1be8ca94cc Update docs with new content 2019-06-04 16:10:32 +02:00
Dan
6683b18b2b Add FAQ about easter eggs 2019-06-02 18:57:43 +02:00
Dan
6d9443c82e Reword some docs sections 2019-06-02 18:57:00 +02:00
Dan
56f1a8ca9d Add send_animated_sticker to docs 2019-06-01 15:25:42 +02:00
Dan
2df9f53e54 Add a FAQ about expiring sms codes 2019-05-31 13:18:19 +02:00
Dan
a984558860 Rename methods dealing with profile pictures 2019-05-31 00:20:09 +02:00
Dan
782a4bce59 Update docs 2019-05-29 10:40:48 +02:00
Dan
e94dcd3b0b Update docs 2019-05-28 16:41:55 +02:00
Dan
47c06fdae2 Docs revamp. Part 7 2019-05-25 01:37:55 +02:00
Dan
d34daa9edc Add pyrogram.png 2019-05-23 18:57:59 +02:00
Dan
375aa85505 Update sitemap.py 2019-05-22 03:33:54 +02:00
Dan
8866a749e0 Fix spelling: an handler -> a handler
Thanks @rastamanjohn for the hint
2019-05-20 19:19:26 +02:00
Dan
0dc953c320 Update domain name references to pyrogram.org 2019-05-19 21:40:41 +02:00
Dan
578dab171c Docs revamp. Part 6 2019-05-18 03:21:02 +02:00
Dan
518220431e Docs revamp. Part 5 2019-05-18 01:45:01 +02:00
Dan
b6ea451ee5 Reword some method return type docstrings 2019-05-17 13:44:44 +02:00
Dan
944b672fe5 Docs revamp. Part 4 2019-05-16 21:28:34 +02:00
Dan
0914654ba6 Fix cross-reference links 2019-05-13 18:04:44 +02:00
Dan
0e80b39c2c Build a much cleaner errors reference page 2019-05-13 15:57:49 +02:00
Dan
eadda551c6 Docs revamp. Part 3 2019-05-12 19:26:55 +02:00
Dan
030b5261d2 Remove duplicated entry
Thanks Colin
2019-05-10 16:55:20 +02:00
Dan
e4b0a78f1a Docs revamp. Part 2 2019-05-10 16:14:10 +02:00
Dan
559eaa2d03 Use lower-case names for pages 2019-05-09 14:37:02 +02:00
Dan
6530c7e293 Remove ChatAction module too
It's pretty much useless, better just use strings
2019-05-09 05:08:37 +02:00
Dan
1737ba5f49 Revamp docs about the main Pyrogram package 2019-05-09 04:28:46 +02:00
Dan
08554633ce Add get_user_profile_photos_count method 2019-05-06 17:07:41 +02:00
Dan
e8e0c16daf Add get_contacts_count method 2019-05-06 17:00:09 +02:00
Dan
4e77ead181 Add get_dialogs_count method 2019-05-06 16:58:59 +02:00
Dan
e80eebc234 Add get_history_count method 2019-05-06 16:44:50 +02:00
Dan
95ef9a64de Fix small typos 2019-05-06 16:40:07 +02:00
Dan
7ed962134a Add missing ChatPermissions docs 2019-04-14 13:13:46 +02:00
Dan
05aed5e0e1 Clean up documentation pages 2019-04-12 15:52:06 +02:00
Dan
b4da453ef3 Documentation fixes 2019-03-27 14:46:02 +01:00
Dan
f4cb31d7b8 Add missing methods in docs 2019-03-25 11:34:58 +01:00
Dan
b5c6db6db0 Refactor project and move errors namespace out from pyrogram.api 2019-03-25 11:23:45 +01:00
Dan
78686d39fa Update docs 2019-03-24 18:59:56 +01:00
Dan
5edd971118 Update docs to use bot_token parameter 2019-03-22 12:39:15 +01:00
Dan
149130831b
Merge pull request #141 from pyrogram/inline-mode
Add support for inline mode (bots)
2019-03-22 12:15:00 +01:00
Dan
27666ec174 Small docs fixes 2019-03-22 12:14:31 +01:00
Dan
bc9f902376 Clean up inline-mode 2019-03-22 11:35:35 +01:00
Dan
4138e668c0
Remove trailing slashes from links 2019-03-21 19:02:31 +01:00
Dan
acbbfabb27 Merge branch 'develop' into inline-mode
# Conflicts:
#	compiler/api/compiler.py
#	compiler/error/source/400_BAD_REQUEST.tsv
#	pyrogram/__init__.py
#	pyrogram/client/dispatcher/dispatcher.py
#	pyrogram/client/ext/utils.py
#	pyrogram/client/methods/bots/__init__.py
#	pyrogram/client/types/__init__.py
2019-03-21 17:40:49 +01:00
Dan
3a1c02738d Update doc sources 2019-03-13 14:54:40 +01:00
Dan
ffa0da5800 Merge branch 'develop' into layer-95
# Conflicts:
#	pyrogram/__init__.py
2019-03-01 18:38:27 +01:00
Dan
a15c6dc814 Update reported version in docs 2019-02-04 17:02:48 +01:00
Dan
6f44cb5214 Update docs index page 2019-02-04 13:06:23 +01:00
Dan
f1a4e9f64b Add VoiceCalls.rst 2019-02-04 12:53:33 +01:00
Dan
a6dbed6dfb Add a way to continue the update propagation within a group
Add continue_propagation() method and ContinuePropagation exception
Closes #212
2019-02-04 12:33:54 +01:00
Dan
5e97cb3420 Update documentation index page 2019-01-25 09:43:56 +01:00
Dan
e4c8592616 Update ConfigurationFile.rst 2019-01-25 09:40:55 +01:00
Dan
c17bf3c64c Fix sphinx warnings 2019-01-25 09:40:37 +01:00
Dan
66ed6d53e3 Merge branch 'smart-plugins-enhancements' into develop 2019-01-25 09:22:06 +01:00
Dan
6d7d7f6c5e Add ConfigurationFile.rst 2019-01-25 09:21:21 +01:00
Dan
c8e8fe0cd7 Add Load/Unload Plugins at Runtime section in SmartPlugins.rst 2019-01-25 00:38:43 +01:00
Dan
d23e4079e4 Update docs index page 2019-01-24 20:03:14 +01:00
Dan
1472b8236d Add ChatPermissions type 2019-01-24 17:03:51 +01:00
Dan
8cfb6614d4 Rename TgCrypto title to Fast Crypto
More generic name.
Keep TgCrypto.rst in order not to break links
2019-01-17 15:25:49 +01:00
Dan
919894cd3f Update Smart Plugins docs 2019-01-17 15:21:50 +01:00
Dan
2e94926d4d Add stop_transmission to docs 2019-01-11 14:20:01 +01:00
Dan
07276e31b9 Add restart method 2019-01-11 12:36:37 +01:00
Dan
dc737ab7bb Add GameHighScore and GameHighScores types 2019-01-07 22:30:33 +01:00
Dan
633fefe178 Add get_game_high_scores method 2019-01-07 22:28:41 +01:00
Dan
65bdf31ce1 Move send_game and set_game_score into bots folder 2019-01-07 22:26:52 +01:00
Dan
9771be9c2a Add send_game and set_game_score methods 2019-01-07 21:49:58 +01:00
Dan
153439ac88 Add iter_chat_members method. Reference #170 2019-01-04 17:13:44 +01:00
Dan
948f2b44ed Add iter_dialogs method. Reference #170 2019-01-04 16:10:34 +01:00
Dan
8628d3a56d Add iter_history method
For #170
2019-01-04 15:37:08 +01:00
Dan
4493f78138 Update to v0.10.3 2019-01-03 08:59:39 +01:00
Dan
1960b00280 Add a way to stop iterating through handlers
Closes #125
2019-01-02 18:11:22 +01:00
Dan
4f04d4aee8 Update to v0.10.2 2018-12-31 17:21:18 +01:00
Dan
e5be7fcc90 Update to v0.10.1 2018-12-31 14:41:38 +01:00
Dan
024e3852f7 Don't rely on git for GitHub installations
Instead, let people install from zips GitHub already provides.
2018-12-31 13:22:14 +01:00
Dan
a02846e900 Move get_chat_preview in a better place 2018-12-30 07:53:14 +01:00
Dan
d00fde74de Use clearer error pages' titles 2018-12-29 13:37:13 +01:00
Dan
46aeb569d5 Add AdvancedUsage.rst 2018-12-28 16:19:42 +01:00
Dan
8f38ce3b9e Remove Raw Functions from Usage doc page 2018-12-28 16:19:30 +01:00
Dan
5dcc19cfb3 Move download_media into messages and media namespace 2018-12-28 15:18:01 +01:00
Dan
64ec26850e Document save_file 2018-12-28 15:16:46 +01:00
Dan
0e62b3472a Add get_chat_preview method and ChatPreview object 2018-12-28 14:26:00 +01:00
Dan
4a01745c68 Add more error classes to docs 2018-12-27 23:04:51 +01:00
Dan
e4bead530c Automatically redirect to GitHub release notes in 10 seconds 2018-12-27 14:20:59 +01:00
Dan
39a458a5f8 Add Changelog documentation page 2018-12-26 20:08:11 +01:00
Dan
127123006f Add TestServers documentation page 2018-12-26 19:44:22 +01:00
Dan
c3f4fab58b Update docs version 2018-12-25 18:17:22 +01:00
Dan
46d206610e Add Poll related stuff in docs 2018-12-24 14:20:54 +01:00
Dan
6e686fdd89 Fix docs not using bytes when showing examples dealing with callback queries 2018-12-22 14:18:23 +01:00
Dan
e9ff43d71f Update reported version on docs 2018-11-13 20:33:55 +01:00
Dan
675c913a62 Update version in docs 2018-11-13 13:21:34 +01:00
Dan
5bff8236b5 Add Inline Mode section to docs 2018-11-09 13:17:16 +01:00
Dan
e3a93b339c Update to v0.9.1 2018-11-04 17:50:51 +01:00