service

package
v0.87.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 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) 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) HelpGetAppConfig

func (s *Service) HelpGetAppConfig(ctx context.Context, request *mtproto.TLHelpGetAppConfig) (*mtproto.JSONValue, error)

HelpGetAppConfig 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