Documentation ¶
Index ¶
- type StatusCore
- func (c *StatusCore) StatusGetUserOnlineSessions(in *status.TLStatusGetUserOnlineSessions) (*status.UserSessionEntryList, error)
- func (c *StatusCore) StatusGetUsersOnlineSessionsList(in *status.TLStatusGetUsersOnlineSessionsList) (*status.Vector_UserSessionEntryList, error)
- func (c *StatusCore) StatusSetSessionOffline(in *status.TLStatusSetSessionOffline) (*mtproto.Bool, error)
- func (c *StatusCore) StatusSetSessionOnline(in *status.TLStatusSetSessionOnline) (*mtproto.Bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatusCore ¶
type StatusCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, svcCtx *svc.ServiceContext) *StatusCore
func (*StatusCore) StatusGetUserOnlineSessions ¶
func (c *StatusCore) StatusGetUserOnlineSessions(in *status.TLStatusGetUserOnlineSessions) (*status.UserSessionEntryList, error)
StatusGetUserOnlineSessions status.getUserOnlineSessions user_id:long = UserSessionEntryList;
func (*StatusCore) StatusGetUsersOnlineSessionsList ¶
func (c *StatusCore) StatusGetUsersOnlineSessionsList(in *status.TLStatusGetUsersOnlineSessionsList) (*status.Vector_UserSessionEntryList, error)
StatusGetUsersOnlineSessionsList status.getUsersOnlineSessionsList Vector<long>:users = Vector<UserSessionEntryList>;
func (*StatusCore) StatusSetSessionOffline ¶
func (c *StatusCore) StatusSetSessionOffline(in *status.TLStatusSetSessionOffline) (*mtproto.Bool, error)
StatusSetSessionOffline status.setSessionOffline online:SessionEntry = Bool;
func (*StatusCore) StatusSetSessionOnline ¶
func (c *StatusCore) StatusSetSessionOnline(in *status.TLStatusSetSessionOnline) (*mtproto.Bool, error)
StatusSetSessionOnline status.setSessionOnline session:SessionEntry = Bool;
Click to show internal directories.
Click to hide internal directories.