Documentation
¶
Index ¶
- type Service
- func (s *Service) StatusGetUserOnlineSessions(ctx context.Context, request *status.TLStatusGetUserOnlineSessions) (*status.UserSessionEntryList, error)
- func (s *Service) StatusGetUsersOnlineSessionsList(ctx context.Context, request *status.TLStatusGetUsersOnlineSessionsList) (*status.Vector_UserSessionEntryList, error)
- func (s *Service) StatusSetSessionOffline(ctx context.Context, request *status.TLStatusSetSessionOffline) (*mtproto.Bool, error)
- func (s *Service) StatusSetSessionOnline(ctx context.Context, request *status.TLStatusSetSessionOnline) (*mtproto.Bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx *svc.ServiceContext) *Service
func (*Service) StatusGetUserOnlineSessions ¶
func (s *Service) StatusGetUserOnlineSessions(ctx context.Context, request *status.TLStatusGetUserOnlineSessions) (*status.UserSessionEntryList, error)
StatusGetUserOnlineSessions status.getUserOnlineSessions user_id:long = UserSessionEntryList;
func (*Service) StatusGetUsersOnlineSessionsList ¶
func (s *Service) StatusGetUsersOnlineSessionsList(ctx context.Context, request *status.TLStatusGetUsersOnlineSessionsList) (*status.Vector_UserSessionEntryList, error)
StatusGetUsersOnlineSessionsList status.getUsersOnlineSessionsList Vector<long> = Vector<UserSessionEntryList>;
func (*Service) StatusSetSessionOffline ¶
func (s *Service) StatusSetSessionOffline(ctx context.Context, request *status.TLStatusSetSessionOffline) (*mtproto.Bool, error)
StatusSetSessionOffline status.setSessionOffline user_id:long auth_key_id:long = Bool;
func (*Service) StatusSetSessionOnline ¶
func (s *Service) StatusSetSessionOnline(ctx context.Context, request *status.TLStatusSetSessionOnline) (*mtproto.Bool, error)
StatusSetSessionOnline status.setSessionOnline user_id:long auth_key_id:long gateway:string expired:long layer:int = Bool;
Click to show internal directories.
Click to hide internal directories.