service

package
v0.85.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 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 Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(ctx *svc.ServiceContext) *Service

func (*Service) AccountCancelPasswordEmail

func (s *Service) AccountCancelPasswordEmail(ctx context.Context, request *mtproto.TLAccountCancelPasswordEmail) (*mtproto.Bool, error)

AccountCancelPasswordEmail account.cancelPasswordEmail#c1cbd5b6 = Bool;

func (*Service) AccountConfirmPasswordEmail

func (s *Service) AccountConfirmPasswordEmail(ctx context.Context, request *mtproto.TLAccountConfirmPasswordEmail) (*mtproto.Bool, error)

AccountConfirmPasswordEmail account.confirmPasswordEmail#8fdf1920 code:string = Bool;

func (*Service) AccountDeclinePasswordReset

func (s *Service) AccountDeclinePasswordReset(ctx context.Context, request *mtproto.TLAccountDeclinePasswordReset) (*mtproto.Bool, error)

AccountDeclinePasswordReset account.declinePasswordReset#4c9409f6 = Bool;

func (*Service) AccountGetPassword

func (s *Service) AccountGetPassword(ctx context.Context, request *mtproto.TLAccountGetPassword) (*mtproto.Account_Password, error)

AccountGetPassword account.getPassword#548a30f5 = account.Password;

func (*Service) AccountGetPasswordSettings

func (s *Service) AccountGetPasswordSettings(ctx context.Context, request *mtproto.TLAccountGetPasswordSettings) (*mtproto.Account_PasswordSettings, error)

AccountGetPasswordSettings account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings;

func (*Service) AccountResendPasswordEmail

func (s *Service) AccountResendPasswordEmail(ctx context.Context, request *mtproto.TLAccountResendPasswordEmail) (*mtproto.Bool, error)

AccountResendPasswordEmail account.resendPasswordEmail#7a7f2a15 = Bool;

func (*Service) AccountUpdatePasswordSettings

func (s *Service) AccountUpdatePasswordSettings(ctx context.Context, request *mtproto.TLAccountUpdatePasswordSettings) (*mtproto.Bool, error)

AccountUpdatePasswordSettings account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool;

Jump to

Keyboard shortcuts

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