Dan
b3faf21c95
Rework in-memory uploads
2020-07-09 02:56:09 +02:00
Dan
de8f784f78
Use better checks for local and external files
2020-07-09 02:24:01 +02:00
Dan
4a8e6fb855
Cleanup
2020-07-09 02:24:01 +02:00
Octo
c13392d2ce
Add support for uploading from file pointers, fixes https://github.com/pyrogram/pyrogram/issues/261
2020-07-09 00:00:08 +02:00
demget
0c83fa09a6
Add file_name param to file-related functions ( #308 )
2020-05-16 12:33:21 +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
047fe37860
Add support for scheduled messages
2019-09-07 15:56:46 +02:00
Dan
2dec2442e5
Add examples to all available methods
2019-07-25 11:22:14 +02:00
Dan
fed8cbf87e
Add new set_parse_mode utility method
2019-07-11 19:28:33 +02:00
Dan
e41d21ba29
Add "md" to possible parse modes for Markdown style
2019-07-10 20:03:10 +02:00
Dan
39e25147bd
Update parse_mode parameter docstrings
2019-06-26 16:36:24 +02:00
Dan
f05e79e0f4
Update usages of Parser all around the library
2019-06-26 16:08:24 +02:00
Dan
896c9fa4fd
Add "unsave" parameter to send_animation
2019-06-04 16:32:42 +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
b6ea451ee5
Reword some method return type docstrings
2019-05-17 13:44:44 +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
6c140fd03e
Merge pull request #238 from pyrogram/bot-api-4.2
...
Bot API 4.2
2019-05-05 12:25:42 +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
ebacefb6e0
Increase media thumbnail size limit
2019-04-14 20:33:45 +02:00
Dan
b5c6db6db0
Refactor project and move errors namespace out from pyrogram.api
2019-03-25 11:23:45 +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
Dan
4e02cd23a8
Make all send_* methods dealing with files aware of StopTransmission
2019-01-11 14:13:23 +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
41180fd22a
Update max caption length
2018-10-16 15:24:54 +02:00
Dan
61e6e58be7
Reword send_animation's thumb parameter description
2018-09-18 11:36:52 +02:00
Dan
4b7e22aedd
Rename file
2018-08-07 01:25:34 +02:00