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) AccountCheckUsername

func (s *Service) AccountCheckUsername(ctx context.Context, request *mtproto.TLAccountCheckUsername) (*mtproto.Bool, error)

AccountCheckUsername account.checkUsername#2714d86c username:string = Bool;

func (*Service) AccountUpdateUsername

func (s *Service) AccountUpdateUsername(ctx context.Context, request *mtproto.TLAccountUpdateUsername) (*mtproto.User, error)

AccountUpdateUsername account.updateUsername#3e0bdd7c username:string = User;

func (*Service) ChannelsCheckUsername

func (s *Service) ChannelsCheckUsername(ctx context.Context, request *mtproto.TLChannelsCheckUsername) (*mtproto.Bool, error)

ChannelsCheckUsername channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool;

func (*Service) ChannelsUpdateUsername

func (s *Service) ChannelsUpdateUsername(ctx context.Context, request *mtproto.TLChannelsUpdateUsername) (*mtproto.Bool, error)

ChannelsUpdateUsername channels.updateUsername#3514b3de channel:InputChannel username:string = Bool;

func (*Service) ContactsResolveUsername

func (s *Service) ContactsResolveUsername(ctx context.Context, request *mtproto.TLContactsResolveUsername) (*mtproto.Contacts_ResolvedPeer, error)

ContactsResolveUsername contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;

func (*Service) GetServiceContext added in v0.96.0

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

Jump to

Keyboard shortcuts

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