CyanBook
c8c6faa96e
Change logging hierarchy for loading plugins ( #451 )
...
Loading plugins shouldn't be considered a warning
2020-08-21 07:28:27 +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
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
87bbd764b9
Add better summary for get_messages
2019-07-28 08:54:18 +02:00
Dan
2dec2442e5
Add examples to all available methods
2019-07-25 11:22:14 +02:00
Dan
b2886c21ca
Clarify get_messages error messages
2019-07-25 10:48:36 +02:00
Dan
cfbc5298df
Remove Messages type
2019-06-08 15:13: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
920f8ff911
Allow unlimited replies to be fetched with get_messages
2019-05-08 16:01:03 +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
b8a3d02eef
Fix get_messages return type
2019-01-04 23:12:06 +01:00
Dan
7e3513f8ee
Wait in case of flood errors in get_messages
2019-01-04 14:38:08 +01:00
Dan
4d7b1bafac
Update copyright year
2019-01-01 12:36:16 +01:00
Dan
490b8bf579
Fix get_message getting infinite replies
2018-12-31 12:02:15 +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
229b8df9cd
Fix bad behaviours of get_messages
2018-10-28 17:44:24 +01:00
Dan
005c24e4bd
Update get_messages docstrings
2018-10-28 17:24:37 +01:00
Dan
daee188fa5
Update get_messages to accept the new reply_to_message_ids argument
2018-10-28 17:23:30 +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
avi-av
4049b57135
Update docs
...
Type returns in the documentation section
2018-07-05 14:42:04 +03:00
Dan
a1c3e40800
Make parse_messages accept a list of messages
2018-05-09 19:29:23 +02:00
Dan
06e6579091
Update some inconsistent docstrings
2018-05-09 13:04:02 +02:00
Dan
8454d438be
Refactor the project by using Mixin classes
...
This will cut client.py down from ~4k to ~1k SLOC and also
makes the whole project tidier and more organized.
2018-05-07 14:30:55 +02:00