core

package
v0.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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;

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL