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
99aee987bd
Add an automatic sleep mechanism for flood wait exceptions
2020-05-07 12:53:45 +02:00
SuperCz1
c05c5c4441
Add session name in "Sleeping for Xs" log lines ( #401 )
...
* Update send_media_group.py
* Update get_dialogs.py
* Update get_dialogs.py
* Update get_messages.py
* Update get_history.py
* Update get_chat_members.py
2020-05-07 11:35:08 +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
a015f998fa
Revert "Stop instantiating logger objects and directly use the logging module"
...
This reverts commit 792068d7
2019-09-08 19:24:06 +02:00
Dan
792068d7c8
Stop instantiating logger objects and directly use the logging module
2019-09-08 12:59:28 +02:00
Dan
2dec2442e5
Add examples to all available methods
2019-07-25 11:22:14 +02:00
Dan
2db2ca3283
Remove ChatMembers type
2019-06-08 13:50:17 +02:00
Dan
0340271b33
Refactor docstrings
2019-05-30 15:23:43 +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
fbe6af2fc6
Automatically handle flood waits when using get_chat_members
2019-03-28 16:24:11 +01: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
d7e3397050
Update get_chat_members docstrings
2019-01-04 16:59:36 +01:00
Dan
4d7b1bafac
Update copyright year
2019-01-01 12:36:16 +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
31b046e5cc
Use the refactored types in get_chat_member(s)
2018-12-16 17:58:05 +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
1eaafb8e41
Clearer documentation for get_chat_members
2018-07-21 14:09:34 +02:00
Dan
b77771497d
Document get_chat_members
2018-07-17 09:09:04 +02:00
Dan
e3128fca9d
Make get_chat_members work with basic groups
2018-07-07 15:47:34 +02:00
Dan
3b29a602d0
Add get_chat_members method
2018-07-06 19:12:41 +02:00