mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Hint the return type of get_history
This commit is contained in:
parent
6c140fd03e
commit
bfda5852b6
@ -37,7 +37,7 @@ class GetHistory(BaseClient):
|
|||||||
offset_id: int = 0,
|
offset_id: int = 0,
|
||||||
offset_date: int = 0,
|
offset_date: int = 0,
|
||||||
reverse: bool = False
|
reverse: bool = False
|
||||||
):
|
) -> "pyrogram.Messages":
|
||||||
"""Use this method to retrieve a chunk of the history of a chat.
|
"""Use this method to retrieve a chunk of the history of a chat.
|
||||||
|
|
||||||
You can get up to 100 messages at once.
|
You can get up to 100 messages at once.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user