Skip to content

Commit 4fd93a7

Browse files
committed
Small fixes and rewords
1 parent 0a94603 commit 4fd93a7

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

pyrogram/client/types/user_and_chats/user_status.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,35 +28,35 @@ class UserStatus(Object):
2828
"recently", "within_week", "within_month" or "long_time_ago" fields set.
2929
3030
Args:
31-
user_id (``int``):
32-
User's id. Only available for UserStatus updates.
31+
user_id (``int``, *optional*):
32+
User's id. Only available for incoming UserStatus updates.
3333
34-
online (``bool``):
35-
True if the user is online in this moment, None otherwise.
34+
online (``bool``, *optional*):
35+
True if the user is online in this very moment, None otherwise.
3636
If True, the "date" field will be also set containing the online expiration date (i.e.: the date when a
3737
user will automatically go offline in case of no action by his client).
3838
39-
offline (``bool``):
40-
True if the user is offline and has the Last Seen privacy setting visible for everybody, None otherwise.
39+
offline (``bool``, *optional*):
40+
True if the user is offline in this moment and has the Last Seen privacy setting public, None otherwise.
4141
If True, the "date" field will be also set containing the last seen date (i.e.: the date when a user
4242
was online the last time).
4343
44-
date (``int``):
44+
date (``int``, *optional*):
4545
Exact date in unix time. Available only in case "online" or "offline" equals to True.
4646
47-
recently (``bool``):
47+
recently (``bool``, *optional*):
4848
True for users with hidden Last Seen privacy that have been online between 1 second and 2-3 days ago,
4949
None otherwise.
5050
51-
within_week (``bool``):
51+
within_week (``bool``, *optional*):
5252
True for users with hidden Last Seen privacy that have been online between 2-3 and seven days ago,
5353
None otherwise.
5454
55-
within_month (``bool``):
55+
within_month (``bool``, *optional*):
5656
True for users with hidden Last Seen privacy that have been online between 6-7 days and a month ago,
5757
None otherwise.
5858
59-
long_time_ago (``bool``):
59+
long_time_ago (``bool``, *optional*):
6060
True for users with hidden Last Seen privacy that have been online more than a month ago (this is also
6161
always shown to blocked users), None otherwise.
6262
"""

0 commit comments

Comments
 (0)