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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationCore

type NotificationCore struct {
	logx.Logger
	MD *metadata.RpcMetadata
	// contains filtered or unexported fields
}

func New

func (*NotificationCore) AccountGetNotifyExceptions

func (c *NotificationCore) AccountGetNotifyExceptions(in *mtproto.TLAccountGetNotifyExceptions) (*mtproto.Updates, error)

AccountGetNotifyExceptions account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates;

func (*NotificationCore) AccountGetNotifySettings

AccountGetNotifySettings account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings;

func (*NotificationCore) AccountRegisterDevice

func (c *NotificationCore) AccountRegisterDevice(in *mtproto.TLAccountRegisterDevice) (*mtproto.Bool, error)

AccountRegisterDevice account.registerDevice#ec86017a flags:# no_muted:flags.0?true token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector<long> = Bool;

func (*NotificationCore) AccountResetNotifySettings

func (c *NotificationCore) AccountResetNotifySettings(in *mtproto.TLAccountResetNotifySettings) (*mtproto.Bool, error)

AccountResetNotifySettings account.resetNotifySettings#db7e1747 = Bool;

func (*NotificationCore) AccountUnregisterDevice

func (c *NotificationCore) AccountUnregisterDevice(in *mtproto.TLAccountUnregisterDevice) (*mtproto.Bool, error)

AccountUnregisterDevice account.unregisterDevice#6a0d3206 token_type:int token:string other_uids:Vector<long> = Bool;

func (*NotificationCore) AccountUpdateDeviceLocked

func (c *NotificationCore) AccountUpdateDeviceLocked(in *mtproto.TLAccountUpdateDeviceLocked) (*mtproto.Bool, error)

AccountUpdateDeviceLocked account.updateDeviceLocked#38df3532 period:int = Bool;

func (*NotificationCore) AccountUpdateNotifySettings

func (c *NotificationCore) AccountUpdateNotifySettings(in *mtproto.TLAccountUpdateNotifySettings) (*mtproto.Bool, error)

AccountUpdateNotifySettings account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool;

Jump to

Keyboard shortcuts

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