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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationClient

type NotificationClient interface {
	AccountRegisterDevice(ctx context.Context, in *mtproto.TLAccountRegisterDevice) (*mtproto.Bool, error)
	AccountUnregisterDevice(ctx context.Context, in *mtproto.TLAccountUnregisterDevice) (*mtproto.Bool, error)
	AccountUpdateNotifySettings(ctx context.Context, in *mtproto.TLAccountUpdateNotifySettings) (*mtproto.Bool, error)
	AccountGetNotifySettings(ctx context.Context, in *mtproto.TLAccountGetNotifySettings) (*mtproto.PeerNotifySettings, error)
	AccountResetNotifySettings(ctx context.Context, in *mtproto.TLAccountResetNotifySettings) (*mtproto.Bool, error)
	AccountUpdateDeviceLocked(ctx context.Context, in *mtproto.TLAccountUpdateDeviceLocked) (*mtproto.Bool, error)
	AccountGetNotifyExceptions(ctx context.Context, in *mtproto.TLAccountGetNotifyExceptions) (*mtproto.Updates, error)
}

func NewNotificationClient

func NewNotificationClient(cli zrpc.Client) NotificationClient

Jump to

Keyboard shortcuts

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