// Code generated by gotdgen, DO NOT EDIT.

package tg

import (
	
	
	
	
	

	

	
	
	
	
)

// No-op definition for keeping imports.
var (
	_ = bin.Buffer{}
	_ = context.Background()
	_ = fmt.Stringer(nil)
	_ = strings.Builder{}
	_ = errors.Is
	_ = multierr.AppendInto
	_ = sort.Ints
	_ = tdp.Format
	_ = tgerr.Error{}
	_ = tdjson.Encoder{}
)

type ServerDispatcher struct {
	fallback func(ctx context.Context, b *bin.Buffer) (bin.Encoder, error)
	handlers map[uint32]func(ctx context.Context, b *bin.Buffer) (bin.Encoder, error)
}

func ( func( context.Context,  *bin.Buffer) (bin.Encoder, error)) *ServerDispatcher {
	return &ServerDispatcher{
		fallback: ,
		handlers: map[uint32]func(context.Context, *bin.Buffer) (bin.Encoder, error){},
	}
}

func ( *ServerDispatcher) ( context.Context,  *bin.Buffer) (bin.Encoder, error) {
	,  := .PeekID()
	if  != nil {
		return nil, 
	}

	,  := .handlers[]
	if ! {
		return .fallback(, )
	}

	return (, )
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthSendCodeRequest) (AuthSentCodeClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthSendCodeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthSentCodeBox{SentCode: }, nil
	}

	.handlers[AuthSendCodeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthSignUpRequest) (AuthAuthorizationClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthSignUpRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthAuthorizationBox{Authorization: }, nil
	}

	.handlers[AuthSignUpRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthSignInRequest) (AuthAuthorizationClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthSignInRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthAuthorizationBox{Authorization: }, nil
	}

	.handlers[AuthSignInRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (*AuthLoggedOut, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthLogOutRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AuthLogOutRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthResetAuthorizationsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AuthResetAuthorizationsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  int) (*AuthExportedAuthorization, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthExportAuthorizationRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .DCID)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AuthExportAuthorizationRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthImportAuthorizationRequest) (AuthAuthorizationClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthImportAuthorizationRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthAuthorizationBox{Authorization: }, nil
	}

	.handlers[AuthImportAuthorizationRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthBindTempAuthKeyRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthBindTempAuthKeyRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AuthBindTempAuthKeyRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthImportBotAuthorizationRequest) (AuthAuthorizationClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthImportBotAuthorizationRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthAuthorizationBox{Authorization: }, nil
	}

	.handlers[AuthImportBotAuthorizationRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  InputCheckPasswordSRPClass) (AuthAuthorizationClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthCheckPasswordRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Password)
		if  != nil {
			return nil, 
		}
		return &AuthAuthorizationBox{Authorization: }, nil
	}

	.handlers[AuthCheckPasswordRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (*AuthPasswordRecovery, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthRequestPasswordRecoveryRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AuthRequestPasswordRecoveryRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthRecoverPasswordRequest) (AuthAuthorizationClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthRecoverPasswordRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthAuthorizationBox{Authorization: }, nil
	}

	.handlers[AuthRecoverPasswordRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthResendCodeRequest) (AuthSentCodeClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthResendCodeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthSentCodeBox{SentCode: }, nil
	}

	.handlers[AuthResendCodeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthCancelCodeRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthCancelCodeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AuthCancelCodeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  []int64) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthDropTempAuthKeysRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .ExceptAuthKeys)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AuthDropTempAuthKeysRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthExportLoginTokenRequest) (AuthLoginTokenClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthExportLoginTokenRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthLoginTokenBox{LoginToken: }, nil
	}

	.handlers[AuthExportLoginTokenRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  []byte) (AuthLoginTokenClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthImportLoginTokenRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Token)
		if  != nil {
			return nil, 
		}
		return &AuthLoginTokenBox{LoginToken: }, nil
	}

	.handlers[AuthImportLoginTokenRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  []byte) (*Authorization, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthAcceptLoginTokenRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Token)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AuthAcceptLoginTokenRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  string) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthCheckRecoveryPasswordRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Code)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AuthCheckRecoveryPasswordRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthImportWebTokenAuthorizationRequest) (AuthAuthorizationClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthImportWebTokenAuthorizationRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthAuthorizationBox{Authorization: }, nil
	}

	.handlers[AuthImportWebTokenAuthorizationRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthRequestFirebaseSMSRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthRequestFirebaseSMSRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AuthRequestFirebaseSMSRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AuthResetLoginEmailRequest) (AuthSentCodeClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AuthResetLoginEmailRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthSentCodeBox{SentCode: }, nil
	}

	.handlers[AuthResetLoginEmailRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountRegisterDeviceRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountRegisterDeviceRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountRegisterDeviceRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountUnregisterDeviceRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountUnregisterDeviceRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountUnregisterDeviceRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountUpdateNotifySettingsRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountUpdateNotifySettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountUpdateNotifySettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  InputNotifyPeerClass) (*PeerNotifySettings, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetNotifySettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Peer)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetNotifySettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountResetNotifySettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountResetNotifySettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountUpdateProfileRequest) (UserClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountUpdateProfileRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &UserBox{User: }, nil
	}

	.handlers[AccountUpdateProfileRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  bool) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountUpdateStatusRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Offline)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountUpdateStatusRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  int64) (AccountWallPapersClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetWallPapersRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Hash)
		if  != nil {
			return nil, 
		}
		return &AccountWallPapersBox{WallPapers: }, nil
	}

	.handlers[AccountGetWallPapersRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountReportPeerRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountReportPeerRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountReportPeerRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  string) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountCheckUsernameRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Username)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountCheckUsernameRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  string) (UserClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountUpdateUsernameRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Username)
		if  != nil {
			return nil, 
		}
		return &UserBox{User: }, nil
	}

	.handlers[AccountUpdateUsernameRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  InputPrivacyKeyClass) (*AccountPrivacyRules, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetPrivacyRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Key)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetPrivacyRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountSetPrivacyRequest) (*AccountPrivacyRules, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSetPrivacyRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountSetPrivacyRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountDeleteAccountRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountDeleteAccountRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountDeleteAccountRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (*AccountDaysTTL, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetAccountTTLRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetAccountTTLRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  AccountDaysTTL) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSetAccountTTLRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .TTL)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountSetAccountTTLRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountSendChangePhoneCodeRequest) (AuthSentCodeClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSendChangePhoneCodeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthSentCodeBox{SentCode: }, nil
	}

	.handlers[AccountSendChangePhoneCodeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountChangePhoneRequest) (UserClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountChangePhoneRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &UserBox{User: }, nil
	}

	.handlers[AccountChangePhoneRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  int) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountUpdateDeviceLockedRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Period)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountUpdateDeviceLockedRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (*AccountAuthorizations, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetAuthorizationsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetAuthorizationsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  int64) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountResetAuthorizationRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Hash)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountResetAuthorizationRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (*AccountPassword, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetPasswordRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetPasswordRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  InputCheckPasswordSRPClass) (*AccountPasswordSettings, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetPasswordSettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Password)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetPasswordSettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountUpdatePasswordSettingsRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountUpdatePasswordSettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountUpdatePasswordSettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountSendConfirmPhoneCodeRequest) (AuthSentCodeClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSendConfirmPhoneCodeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthSentCodeBox{SentCode: }, nil
	}

	.handlers[AccountSendConfirmPhoneCodeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountConfirmPhoneRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountConfirmPhoneRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountConfirmPhoneRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountGetTmpPasswordRequest) (*AccountTmpPassword, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetTmpPasswordRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetTmpPasswordRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (*AccountWebAuthorizations, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetWebAuthorizationsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetWebAuthorizationsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  int64) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountResetWebAuthorizationRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Hash)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountResetWebAuthorizationRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountResetWebAuthorizationsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountResetWebAuthorizationsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) ([]SecureValue, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetAllSecureValuesRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		return &SecureValueVector{Elems: }, nil
	}

	.handlers[AccountGetAllSecureValuesRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  []SecureValueTypeClass) ([]SecureValue, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetSecureValueRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Types)
		if  != nil {
			return nil, 
		}
		return &SecureValueVector{Elems: }, nil
	}

	.handlers[AccountGetSecureValueRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountSaveSecureValueRequest) (*SecureValue, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSaveSecureValueRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountSaveSecureValueRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  []SecureValueTypeClass) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountDeleteSecureValueRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Types)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountDeleteSecureValueRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountGetAuthorizationFormRequest) (*AccountAuthorizationForm, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetAuthorizationFormRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetAuthorizationFormRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountAcceptAuthorizationRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountAcceptAuthorizationRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountAcceptAuthorizationRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountSendVerifyPhoneCodeRequest) (AuthSentCodeClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSendVerifyPhoneCodeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AuthSentCodeBox{SentCode: }, nil
	}

	.handlers[AccountSendVerifyPhoneCodeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountVerifyPhoneRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountVerifyPhoneRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountVerifyPhoneRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountSendVerifyEmailCodeRequest) (*AccountSentEmailCode, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSendVerifyEmailCodeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountSendVerifyEmailCodeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountVerifyEmailRequest) (AccountEmailVerifiedClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountVerifyEmailRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AccountEmailVerifiedBox{EmailVerified: }, nil
	}

	.handlers[AccountVerifyEmailRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountInitTakeoutSessionRequest) (*AccountTakeout, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountInitTakeoutSessionRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountInitTakeoutSessionRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountFinishTakeoutSessionRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountFinishTakeoutSessionRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountFinishTakeoutSessionRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  string) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountConfirmPasswordEmailRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Code)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountConfirmPasswordEmailRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountResendPasswordEmailRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountResendPasswordEmailRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountCancelPasswordEmailRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountCancelPasswordEmailRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetContactSignUpNotificationRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountGetContactSignUpNotificationRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  bool) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSetContactSignUpNotificationRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Silent)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountSetContactSignUpNotificationRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountGetNotifyExceptionsRequest) (UpdatesClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetNotifyExceptionsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &UpdatesBox{Updates: }, nil
	}

	.handlers[AccountGetNotifyExceptionsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  InputWallPaperClass) (WallPaperClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetWallPaperRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Wallpaper)
		if  != nil {
			return nil, 
		}
		return &WallPaperBox{WallPaper: }, nil
	}

	.handlers[AccountGetWallPaperRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountUploadWallPaperRequest) (WallPaperClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountUploadWallPaperRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &WallPaperBox{WallPaper: }, nil
	}

	.handlers[AccountUploadWallPaperRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountSaveWallPaperRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSaveWallPaperRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountSaveWallPaperRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountInstallWallPaperRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountInstallWallPaperRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountInstallWallPaperRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountResetWallPapersRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountResetWallPapersRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (*AccountAutoDownloadSettings, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetAutoDownloadSettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetAutoDownloadSettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountSaveAutoDownloadSettingsRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSaveAutoDownloadSettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountSaveAutoDownloadSettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountUploadThemeRequest) (DocumentClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountUploadThemeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &DocumentBox{Document: }, nil
	}

	.handlers[AccountUploadThemeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountCreateThemeRequest) (*Theme, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountCreateThemeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountCreateThemeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountUpdateThemeRequest) (*Theme, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountUpdateThemeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountUpdateThemeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountSaveThemeRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSaveThemeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountSaveThemeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountInstallThemeRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountInstallThemeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountInstallThemeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountGetThemeRequest) (*Theme, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetThemeRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetThemeRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountGetThemesRequest) (AccountThemesClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetThemesRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		return &AccountThemesBox{Themes: }, nil
	}

	.handlers[AccountGetThemesRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountSetContentSettingsRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSetContentSettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountSetContentSettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (*AccountContentSettings, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetContentSettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetContentSettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  []InputWallPaperClass) ([]WallPaperClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetMultiWallPapersRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Wallpapers)
		if  != nil {
			return nil, 
		}
		return &WallPaperClassVector{Elems: }, nil
	}

	.handlers[AccountGetMultiWallPapersRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (*GlobalPrivacySettings, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetGlobalPrivacySettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountGetGlobalPrivacySettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  GlobalPrivacySettings) (*GlobalPrivacySettings, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSetGlobalPrivacySettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Settings)
		if  != nil {
			return nil, 
		}
		return , nil
	}

	.handlers[AccountSetGlobalPrivacySettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountReportProfilePhotoRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountReportProfilePhotoRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountReportProfilePhotoRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (AccountResetPasswordResultClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountResetPasswordRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		return &AccountResetPasswordResultBox{ResetPasswordResult: }, nil
	}

	.handlers[AccountResetPasswordRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountDeclinePasswordResetRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := ()
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountDeclinePasswordResetRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  int64) (AccountThemesClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetChatThemesRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .Hash)
		if  != nil {
			return nil, 
		}
		return &AccountThemesBox{Themes: }, nil
	}

	.handlers[AccountGetChatThemesRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  int) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountSetAuthorizationTTLRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .AuthorizationTTLDays)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountSetAuthorizationTTLRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  *AccountChangeAuthorizationSettingsRequest) (bool, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountChangeAuthorizationSettingsRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, &)
		if  != nil {
			return nil, 
		}
		if  {
			return &BoolBox{Bool: &BoolTrue{}}, nil
		}

		return &BoolBox{Bool: &BoolFalse{}}, nil
	}

	.handlers[AccountChangeAuthorizationSettingsRequestTypeID] = 
}

func ( *ServerDispatcher) ( func( context.Context,  int64) (AccountSavedRingtonesClass, error)) {
	 := func( context.Context,  *bin.Buffer) (bin.Encoder, error) {
		var  AccountGetSavedRingtonesRequest
		if  := .Decode();  != nil {
			return nil, 
		}

		,  := (, .