Dan
a35e2620f8
Fix export_chat_invite_link for basic groups in Layer 100
2019-06-04 23:36:10 +02:00
Dan
a425e00a96
Add read_history method
2019-06-04 19:16:30 +02:00
Dan
896c9fa4fd
Add "unsave" parameter to send_animation
2019-06-04 16:32:42 +02:00
Dan
acc0fab311
Fix animated stickers media type. They are documents for now
2019-06-01 14:07:45 +02:00
Dan
1f2be4f1ce
Add send_animated_sticker method
2019-06-01 14:05:25 +02:00
Dan
a984558860
Rename methods dealing with profile pictures
2019-05-31 00:20:09 +02:00
Dan
cb3addab1e
Add iter_profile_photos method
2019-05-31 00:18:43 +02:00
Dan
0340271b33
Refactor docstrings
2019-05-30 15:23:43 +02:00
Dan
715ae14751
Update send_* methods (for file_ids)
2019-05-30 14:57:52 +02:00
Dan
55599e33c6
Rework download_media to accommodate L100 changes
2019-05-29 10:40:37 +02:00
Dan
38de4299c5
Add get_user_dc method
2019-05-29 09:43:48 +02:00
Dan
09d012b696
Rename get_user_profile_photos to get_user_photos
2019-05-29 09:43:33 +02:00
Dan
86a4f63d37
Rename set_user_profile_photo to set_photo
...
Users can only set a photo for themselves.
2019-05-29 09:42:55 +02:00
Dan
83cd828386
Rename get_user_profile_photos_count to get_user_photos_count
2019-05-29 09:41:59 +02:00
Dan
1390797f58
Rename delete_user_profile_photos to just delete_photos.
...
It's implied an user can only delete own photos.
2019-05-29 09:41:04 +02:00
Dan
c2424029b5
Fix dialogs after L100 update
2019-05-29 09:37:50 +02:00
Dan
e94dcd3b0b
Update docs
2019-05-28 16:41:55 +02:00
Dan
87ad981420
Add get_user_dc method
2019-05-27 14:39:10 +02:00
Dan
b6ea451ee5
Reword some method return type docstrings
2019-05-17 13:44:44 +02:00
Dan
53d0cc30f6
Remove get_chat_preview and have get_chat deal with ChatPreview objects
2019-05-17 13:18:24 +02:00
Dan
944b672fe5
Docs revamp. Part 4
2019-05-16 21:28:34 +02:00
Dan
94de75f714
Bring back the possibility to use strings as callback query data
...
In case bytes (which is the type used by telegram) can't be successfully
decoded into strings, the raw bytes are presented instead of trying to
decode by ignoring/replacing errors.
2019-05-13 21:04:17 +02:00
Dan
ef912d21ef
Use more concise and cleaner description of a method and a type
2019-05-12 19:49:06 +02:00
Dan
e4b0a78f1a
Docs revamp. Part 2
2019-05-10 16:14:10 +02:00
Dan
92283d6cab
Add timeout to Message.click
2019-05-09 05:55:44 +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
920f8ff911
Allow unlimited replies to be fetched with get_messages
2019-05-08 16:01:03 +02:00
Dan
692073c856
Fix get_dialogs_count breaking in case of less than 200 dialogs
2019-05-06 17:09:44 +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
bfda5852b6
Hint the return type of get_history
2019-05-05 15:44:28 +02:00
Dan
6c140fd03e
Merge pull request #238 from pyrogram/bot-api-4.2
...
Bot API 4.2
2019-05-05 12:25:42 +02:00
Dan
cc9bc56391
Add important note to export_chat_invite_link
2019-04-30 11:29:54 +02:00
Dan
d83a2a951d
Revert "Fix export_chat_invite_link broken because of Layer update Fixes #244 "
...
This reverts commit 2aad5985
2019-04-30 11:22:23 +02:00
Dan
2aad59856d
Fix export_chat_invite_link broken because of Layer update
...
Fixes #244
2019-04-30 11:04:37 +02:00
Dan
63d76a7f13
Bring back automatic mime type detection for new uploads ( fixes #239 )
...
- Add mime.types file to contain a good database of type -> ext mappings
from svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
- Load mime.type at BaseClient creation and add two convenience methods
for guessing mime types from filenames and extensions from mime types,
guess_mime_type and guess_extension
- Make all send_* method as well as download_media use the new mime type
database via guess_mime_type and guess_extension methods
2019-04-20 18:56:30 +02:00
Dan
57be97566d
Make delete_messages return False when it fails to delete
...
This is because there will be no exception raised, because Telegram
is not sending any RPCError when you try to delete a message you don't
have rights on to.
2019-04-14 22:34:05 +02:00
Dan
5905f761fa
Add PollHandler type and on_poll decorator for handling Poll updates
2019-04-14 20:50:13 +02:00
Dan
ebacefb6e0
Increase media thumbnail size limit
2019-04-14 20:33:45 +02:00
Dan
4661fb035b
Refactor Poll types and methods to reflect Bot API 4.2 docs
2019-04-14 20:17:42 +02:00
Dan
1e635f00ea
Fix set_chat_description not working anymore with the new Layer
2019-04-13 16:10:15 +02:00
Dan
05aed5e0e1
Clean up documentation pages
2019-04-12 15:52:06 +02:00
Dan
fbe6af2fc6
Automatically handle flood waits when using get_chat_members
2019-03-28 16:24:11 +01:00
Dan
e79f4fde80
Fix send_chat_action not working with upload_* actions
2019-03-28 14:01:38 +01:00
Dan
b8341a9869
Remove delete_messages limitations
2019-03-25 11:34:47 +01:00
Dan
b5c6db6db0
Refactor project and move errors namespace out from pyrogram.api
2019-03-25 11:23:45 +01:00
Dan
27666ec174
Small docs fixes
2019-03-22 12:14:31 +01:00