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) ContactsResolvePhone added in v0.86.3

func (s *Service) ContactsResolvePhone(ctx context.Context, request *mtproto.TLContactsResolvePhone) (*mtproto.Contacts_ResolvedPeer, error)

ContactsResolvePhone contacts.resolvePhone#8af94344 phone:string = contacts.ResolvedPeer;

func (*Service) UsersGetFullUser added in v0.87.1

func (s *Service) UsersGetFullUser(ctx context.Context, request *mtproto.TLUsersGetFullUser) (*mtproto.Users_UserFull, error)

UsersGetFullUser users.getFullUser#b60f5918 id:InputUser = users.UserFull;

func (*Service) UsersGetMe

func (s *Service) UsersGetMe(ctx context.Context, request *mtproto.TLUsersGetMe) (*mtproto.User, error)

UsersGetMe users.getMe id:long token:string = User;

func (*Service) UsersGetUsers

func (s *Service) UsersGetUsers(ctx context.Context, request *mtproto.TLUsersGetUsers) (*mtproto.Vector_User, error)

UsersGetUsers users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;

Jump to

Keyboard shortcuts

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