Dan
516e0a13d5
Simplify None checks for file uploads
2020-07-27 15:06:18 +02:00
Dan
de8f784f78
Use better checks for local and external files
2020-07-09 02:24:01 +02:00
Dan
3e900214f4
Pass the required file_reference when editing media messages
2020-04-06 16:09:35 +02:00
Dan
1996fb1481
Update Copyright
2020-03-21 15:43:32 +01:00
Dan
42c9bafa0c
Update copyright notice
2020-02-01 14:04:33 +01:00
Dan
92c1b48132
Fix FILE_REFERENCE_* errors for uploads
2019-09-21 22:13:02 +02:00
Dan
2dec2442e5
Add examples to all available methods
2019-07-25 11:22:14 +02:00
Dan
be3947e20b
Fix some methods not working correctly with the new Text Parser
2019-07-02 00:01:18 +02:00
Dan
61ed44ff5f
Add edit_inline_* methods to deal with inline messages only
2019-06-14 04:52:05 +02:00
Dan
c485715db1
Small docstrings fixup
2019-06-14 02:47:17 +02:00
Dan
22199b0fe5
Implement editing of messages sent via inline bots
...
- edit_message_text
- edit_message_caption
- edit_message_media
- edit_message_reply_markup
2019-06-14 02:15:33 +02:00
Dan
715ae14751
Update send_* methods (for file_ids)
2019-05-30 14:57:52 +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
1737ba5f49
Revamp docs about the main Pyrogram package
2019-05-09 04:28:46 +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
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
Dan
3e18945f3c
Reformat code
2019-03-16 19:23:23 +01:00
Dan
34b51b6481
Force keyword arguments for all TL types
2019-03-16 16:53:52 +01:00
Dan
50cff068a0
Fix send_* methods sending the incorrect Telegram media message type
...
This makes Pyrogram consistent with the official Bot API behaviour.
2019-02-12 20:29:05 +01:00
23rd
69f347ddec
Fixed loss of thumbnails after media editing. ( #216 )
2019-02-11 11:07:02 +01:00
Dan
4d7b1bafac
Update copyright year
2019-01-01 12:36:16 +01:00
Dan
84fef9ecf1
Add missing file_reference argument where applicable
2018-12-23 00:55:00 +01:00
Dan
a0355a5cc4
Type hint all methods return values
2018-12-19 15:59:15 +01:00
Dan
b593463bd7
Type hint all the remaining method parameters
2018-12-19 14:50:23 +01:00
Dan
27052e31ca
Fix all those unresolved references caused by the refactor
2018-12-18 09:45:49 +01:00
Dan
45129658b0
Revisit docstrings
2018-11-03 10:49:11 +01:00
Dan
61a2ad812e
Add missing docstrings for edit_message_media
2018-09-20 16:33:36 +02:00
Dan
2617618cef
Add support for Document message edits
2018-08-23 21:21:27 +02:00
Dan
ec0d6dd6e0
Add support for animations in edit_message_media
2018-08-14 14:14:03 +02:00
Dan
f7c2dc9d30
Add support for editing messages with Audio
2018-08-05 10:25:37 +02:00
Dan
9f725a6bfb
Add support for editing videos using external URLs and file IDs
2018-08-04 01:27:02 +02:00
Dan
f3074f04b0
Add ability to edit video messages
2018-08-04 01:23:31 +02:00
Dan
51eb2f90b9
Add support for editing photousing file IDs
2018-08-03 18:38:26 +02:00
Dan
a3be6a9355
Add support for editing photos with external URLs
2018-08-03 18:38:04 +02:00
Dan
8d35559f0b
Return the higher-level Message object instead of the raw update
2018-08-03 18:37:10 +02:00
Dan
6015a14182
Add ability to edit photos by uploading new files
2018-08-03 18:36:38 +02:00
Dan
ea0a75bfd7
Add edit_message_media method
2018-08-02 01:10:29 +02:00