Skip to content

Commit 3b68c4d

Browse files
committed
Update Pyrogram to v2.0.26
Update to Pyrogram v2.0.26 from the latest commit on the official repo https://github.com/pyrogram/pyrogram/
1 parent 20817cb commit 3b68c4d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyrogram/methods/messages/search_global.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async def search_global(
102102

103103
last = messages[-1]
104104

105-
offset_date = last.date
105+
offset_date = utils.datetime_to_timestamp(last.date)
106106
offset_peer = await self.resolve_peer(last.chat.id)
107107
offset_id = last.id
108108

pyrogram/types/user_and_chats/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def __init__(
158158
is_support: bool = None,
159159
first_name: str = None,
160160
last_name: str = None,
161-
status: str = None,
161+
status: "enums.UserStatus" = None,
162162
last_online_date: datetime = None,
163163
next_offline_date: datetime = None,
164164
username: str = None,

0 commit comments

Comments
 (0)