UserStatus

class pyrogram.raw.base.UserStatus

User online status

Constructors:

This base type has 6 constructors available.

UserStatusEmpty

User status has not been set yet.

UserStatusLastMonth

Online status: last seen last month

UserStatusLastWeek

Online status: last seen last week

UserStatusOffline

The user's offline status.

UserStatusOnline

Online status of the user.

UserStatusRecently

Online status: last seen recently

TL Schema


Parameter Tree

UserStatus
├── UserStatusEmpty
│ └── expiresint
│ └── was_onlineint
│ └── by_metrue (optional)
│ └── by_metrue (optional)
└── by_metrue (optional)

Example