2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 05:18:10 +00:00

Hint the return type of get_history

This commit is contained in:
Dan 2019-05-05 15:44:28 +02:00
parent 6c140fd03e
commit bfda5852b6

View File

@ -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.