Layer 220
UserStatus
Abstract type representing one of 6 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.UserStatus interface.
Use any of the following constructors:
UserStatusOnline
Online status of the user.
UserStatusEmpty
User status has not been set yet.
UserStatusRecently
Online status: last seen recently
UserStatusOffline
The user's offline status.
UserStatusLastWeek
Online status: last seen last week
UserStatusLastMonth
Online status: last seen last month
Gogram Example
// UserStatus is an interface type // You can use any of the following constructors: var _ tg.UserStatus = &tg.UserStatusOnline{} var _ tg.UserStatus = &tg.UserStatusEmpty{} var _ tg.UserStatus = &tg.UserStatusRecently{} var _ tg.UserStatus = &tg.UserStatusOffline{} var _ tg.UserStatus = &tg.UserStatusLastWeek{} // ... and 1 more constructors