Commit Graph

466 Commits

Author SHA1 Message Date
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
5a0bcdaf42 Update robots.txt 2019-06-08 16:51:03 +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
3c1faff2a6 Update sitemap.py 2019-06-07 16:24:18 +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
be612a498b Add robots.txt 2019-05-22 03:34:13 +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
Dan
a48e0ce33a Update Installation page 2018-11-03 14:24:02 +01:00
Dan
caea507f05 Remove undoc-members for Filters doc page 2018-11-03 14:23:48 +01:00
Dan
74754f288a Update SmartPlugins page 2018-11-03 11:00:26 +01:00
Dan
9e3cf9edf7 Use "with" context manager in examples 2018-10-22 20:23:50 +02:00
Dan
2febb53d72 Update SmartPlugins.rst page 2018-10-21 09:43:35 +02:00
Dan
077e7c00d5 Rename Plugins.rst to SmartPlugins.rst 2018-10-18 13:04:57 +02:00
Dan
ae06635d88 Update Plugins.rst 2018-10-18 11:47:04 +02:00
Dan
d580a78787 Update Installation page
Hint about asyncio
2018-10-17 01:07:33 +02:00
Dan
2ae1d522f3 Add on_user_status decorator to docs 2018-10-16 12:17:39 +02:00
Dan
a163c2b4e9 Add UserStatusHandler in docs 2018-10-16 12:16:40 +02:00
Dan
b34aca0c6f Fix wrong method names in docs 2018-10-16 12:15:31 +02:00
Dan
9e159a3f50 Merge branch 'plugins' into develop 2018-10-16 12:12:21 +02:00
Dan
8a81bd1221 Merge branch 'user-status' into develop 2018-10-16 12:07:53 +02:00
Dan
1f5f339f6f Reflect changes to docs 2018-10-16 11:49:12 +02:00
Dan
7ff4c340f7 Add UserStatus to docs 2018-10-14 18:00:41 +02:00
Dan
aa15350a2d Merge branch 'develop' into plugins 2018-10-14 12:28:09 +02:00
Dan
474388d8a4 Small improvements on UpdateHandling.rst 2018-10-14 12:28:00 +02:00
Dan
c744bba60f Add clearer details 2018-10-14 12:02:48 +02:00
Dan
d03f04a560 Add more and clearer examples in the Usage.rst page 2018-10-14 11:59:55 +02:00
Dan
3659ea82fb Small fixes to the Setup.rst page 2018-10-14 11:58:23 +02:00
Dan
a3272d28d4 Update installation.rst 2018-10-14 11:47:30 +02:00
Dan
f063726d93 Update index.rst 2018-10-14 11:46:44 +02:00
Dan
317f584a2a Yet another badge style change 2018-10-14 11:14:10 +02:00
Dan
d576cdffb3 Fix reported schema layer 2018-10-14 10:48:39 +02:00
Dan
d5097f0b39 Change badge style and rename scheme to schema 2018-10-14 10:48:17 +02:00
Dan
29c3142958 Index Plugin.rst 2018-10-13 16:54:13 +02:00
Dan
c5006fcf1e Add Plugins.rst
Documentation for Plugins
2018-10-13 16:53:51 +02:00
Dan
ab560dc292 Small documentation fix 2018-09-20 16:35:43 +02:00
Dan
08f6d0b865 Fix tgcrypto version in docs index page 2018-09-19 16:24:30 +02:00
Dan
666c41a79d Add missing methods to docs 2018-09-19 12:13:54 +02:00