Documentation
¶
Index ¶
- type Service
- func (s *Service) HelpDismissSuggestion(ctx context.Context, request *mtproto.TLHelpDismissSuggestion) (*mtproto.Bool, error)
- func (s *Service) HelpGetAppChangelog(ctx context.Context, request *mtproto.TLHelpGetAppChangelog) (*mtproto.Updates, error)
- func (s *Service) HelpGetAppConfig(ctx context.Context, request *mtproto.TLHelpGetAppConfig) (*mtproto.JSONValue, error)
- func (s *Service) HelpGetAppUpdate(ctx context.Context, request *mtproto.TLHelpGetAppUpdate) (*mtproto.Help_AppUpdate, error)
- func (s *Service) HelpGetConfig(ctx context.Context, request *mtproto.TLHelpGetConfig) (*mtproto.Config, error)
- func (s *Service) HelpGetCountriesList(ctx context.Context, request *mtproto.TLHelpGetCountriesList) (*mtproto.Help_CountriesList, error)
- func (s *Service) HelpGetInviteText(ctx context.Context, request *mtproto.TLHelpGetInviteText) (*mtproto.Help_InviteText, error)
- func (s *Service) HelpGetNearestDc(ctx context.Context, request *mtproto.TLHelpGetNearestDc) (*mtproto.NearestDc, error)
- func (s *Service) HelpGetSupport(ctx context.Context, request *mtproto.TLHelpGetSupport) (*mtproto.Help_Support, error)
- func (s *Service) HelpGetSupportName(ctx context.Context, request *mtproto.TLHelpGetSupportName) (*mtproto.Help_SupportName, error)
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;