Dan
8a14f58421
Allow uploading chat photos using BytesIO objects
2020-07-27 13:33:17 +02:00
Alisson Lauffer
531069b1e2
Some fixes and speed improvments ( #439 )
...
* Use raw string for re pattern
* Trim trailing whitespaces from docstrings and code
* Use isinstance() instead of type() for typechecking
* Remove unused imports
2020-07-12 06:43:30 +02:00
Dan
de8f784f78
Use better checks for local and external files
2020-07-09 02:24:01 +02:00
Yusuf_M_Thon_iD
b913590cea
add missing file_ref in set_chat_photo ( #369 )
2020-03-21 16:03:54 +01: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
0011d12be5
Fix set_chat_photo not working because of new file ids
2019-08-21 09:56:33 +02:00
Dan
2dec2442e5
Add examples to all available methods
2019-07-25 11:22:14 +02:00
Dan
0340271b33
Refactor docstrings
2019-05-30 15:23:43 +02:00
Dan
e94dcd3b0b
Update docs
2019-05-28 16:41:55 +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
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
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
45129658b0
Revisit docstrings
2018-11-03 10:49:11 +01:00
Dan
32468e5ab0
Remove hints about using t.me/joinchat/ links as chat ids
...
Such links don't work reliably with the current implementation
2018-07-27 00:40:08 +02:00
Dan
3fe05b4d28
Document set_chat_photo
2018-07-15 16:34:32 +02:00
Dan
cb4996d64b
Reformat code
2018-07-08 10:18:48 +02:00
Dan
756a6f7630
Add set_chat_photo method
2018-07-08 09:22:08 +02:00