status_client

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusClient

type StatusClient interface {
	StatusSetSessionOnline(ctx context.Context, in *status.TLStatusSetSessionOnline) (*mtproto.Bool, error)
	StatusSetSessionOffline(ctx context.Context, in *status.TLStatusSetSessionOffline) (*mtproto.Bool, error)
	StatusGetUserOnlineSessions(ctx context.Context, in *status.TLStatusGetUserOnlineSessions) (*status.UserSessionEntryList, error)
	StatusGetUsersOnlineSessionsList(ctx context.Context, in *status.TLStatusGetUsersOnlineSessionsList) (*status.Vector_UserSessionEntryList, error)
	StatusGetChannelOnlineUsers(ctx context.Context, in *status.TLStatusGetChannelOnlineUsers) (*status.Vector_Long, error)
	StatusSetUserChannelsOnline(ctx context.Context, in *status.TLStatusSetUserChannelsOnline) (*mtproto.Bool, error)
	StatusSetUserChannelsOffline(ctx context.Context, in *status.TLStatusSetUserChannelsOffline) (*mtproto.Bool, error)
	StatusSetChannelUserOffline(ctx context.Context, in *status.TLStatusSetChannelUserOffline) (*mtproto.Bool, error)
	StatusSetChannelUsersOnline(ctx context.Context, in *status.TLStatusSetChannelUsersOnline) (*mtproto.Bool, error)
	StatusSetChannelOffline(ctx context.Context, in *status.TLStatusSetChannelOffline) (*mtproto.Bool, error)
}

func NewStatusClient

func NewStatusClient(cli zrpc.Client) StatusClient

Jump to

Keyboard shortcuts

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