service

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 Service

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

func New

func New(ctx *svc.ServiceContext) *Service

func (*Service) GetServiceContext added in v0.96.0

func (s *Service) GetServiceContext() *svc.ServiceContext

func (*Service) HelpDismissSuggestion

func (s *Service) HelpDismissSuggestion(ctx context.Context, request *mtproto.TLHelpDismissSuggestion) (*mtproto.Bool, error)

HelpDismissSuggestion help.dismissSuggestion#f50dbaa1 peer:InputPeer suggestion:string = Bool;

func (*Service) HelpGetAppChangelog

func (s *Service) HelpGetAppChangelog(ctx context.Context, request *mtproto.TLHelpGetAppChangelog) (*mtproto.Updates, error)

HelpGetAppChangelog help.getAppChangelog#9010ef6f prev_app_version:string = Updates;

func (*Service) HelpGetAppConfig61E3F854 added in v0.96.0

func (s *Service) HelpGetAppConfig61E3F854(ctx context.Context, request *mtproto.TLHelpGetAppConfig61E3F854) (*mtproto.Help_AppConfig, error)

HelpGetAppConfig61E3F854 help.getAppConfig#61e3f854 hash:int = help.AppConfig;

func (*Service) HelpGetAppConfig98914110 added in v0.96.0

func (s *Service) HelpGetAppConfig98914110(ctx context.Context, request *mtproto.TLHelpGetAppConfig98914110) (*mtproto.JSONValue, error)

HelpGetAppConfig98914110 help.getAppConfig#98914110 = JSONValue;

func (*Service) HelpGetAppUpdate

func (s *Service) HelpGetAppUpdate(ctx context.Context, request *mtproto.TLHelpGetAppUpdate) (*mtproto.Help_AppUpdate, error)

HelpGetAppUpdate help.getAppUpdate#522d5a7d source:string = help.AppUpdate;

func (*Service) HelpGetConfig

func (s *Service) HelpGetConfig(ctx context.Context, request *mtproto.TLHelpGetConfig) (*mtproto.Config, error)

HelpGetConfig help.getConfig#c4f9186b = Config;

func (*Service) HelpGetCountriesList

func (s *Service) HelpGetCountriesList(ctx context.Context, request *mtproto.TLHelpGetCountriesList) (*mtproto.Help_CountriesList, error)

HelpGetCountriesList help.getCountriesList#735787a8 lang_code:string hash:int = help.CountriesList;

func (*Service) HelpGetInviteText

func (s *Service) HelpGetInviteText(ctx context.Context, request *mtproto.TLHelpGetInviteText) (*mtproto.Help_InviteText, error)

HelpGetInviteText help.getInviteText#4d392343 = help.InviteText;

func (*Service) HelpGetNearestDc

func (s *Service) HelpGetNearestDc(ctx context.Context, request *mtproto.TLHelpGetNearestDc) (*mtproto.NearestDc, error)

HelpGetNearestDc help.getNearestDc#1fb33026 = NearestDc;

func (*Service) HelpGetSupport

func (s *Service) HelpGetSupport(ctx context.Context, request *mtproto.TLHelpGetSupport) (*mtproto.Help_Support, error)

HelpGetSupport help.getSupport#9cdf08cd = help.Support;

func (*Service) HelpGetSupportName

func (s *Service) HelpGetSupportName(ctx context.Context, request *mtproto.TLHelpGetSupportName) (*mtproto.Help_SupportName, error)

HelpGetSupportName help.getSupportName#d360e72c = help.SupportName;

Jump to

Keyboard shortcuts

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