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