rpc

package
v0.0.0-...-d9af017 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoMainServer

func DoMainServer()

Types

type ContactsServiceImpl

type ContactsServiceImpl struct {
}

func (*ContactsServiceImpl) ContactsBlock

func (s *ContactsServiceImpl) ContactsBlock(ctx context.Context, request *mtproto.TLContactsBlock) (*mtproto.Bool, error)

contacts.block#332b49fc id:InputUser = Bool;

func (*ContactsServiceImpl) ContactsDeleteContact

func (s *ContactsServiceImpl) ContactsDeleteContact(ctx context.Context, request *mtproto.TLContactsDeleteContact) (*mtproto.Contacts_Link, error)

contacts.deleteContact#8e953744 id:InputUser = contacts.Link;

func (*ContactsServiceImpl) ContactsDeleteContacts

func (s *ContactsServiceImpl) ContactsDeleteContacts(ctx context.Context, request *mtproto.TLContactsDeleteContacts) (*mtproto.Bool, error)

contacts.deleteContacts#59ab389e id:Vector<InputUser> = Bool;

func (*ContactsServiceImpl) ContactsGetBlocked

contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; Android client request:

TLRPC.TL_contacts_getBlocked req = new TLRPC.TL_contacts_getBlocked();
req.offset = 0;
req.limit = 200;

func (*ContactsServiceImpl) ContactsGetContacts

contacts.getContacts#c023849f hash:int = contacts.Contacts;

func (*ContactsServiceImpl) ContactsGetContacts2

@benqi: Android client contacts.getContacts#22c6aa08 hash:string = contacts.Contacts;

func (*ContactsServiceImpl) ContactsGetTopPeers

contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers;

func (*ContactsServiceImpl) ContactsImportCard

func (s *ContactsServiceImpl) ContactsImportCard(ctx context.Context, request *mtproto.TLContactsImportCard) (*mtproto.User, error)

contacts.importCard#4fe196fe export_card:Vector<int> = User;

func (*ContactsServiceImpl) ContactsImportContacts

contacts.importContacts#2c800be5 contacts:Vector<InputContact> = contacts.ImportedContacts;

func (*ContactsServiceImpl) ContactsResetSaved

func (s *ContactsServiceImpl) ContactsResetSaved(ctx context.Context, request *mtproto.TLContactsResetSaved) (*mtproto.Bool, error)

contacts.resetSaved#879537f1 = Bool;

func (*ContactsServiceImpl) ContactsResetTopPeerRating

func (s *ContactsServiceImpl) ContactsResetTopPeerRating(ctx context.Context, request *mtproto.TLContactsResetTopPeerRating) (*mtproto.Bool, error)

contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool;

func (*ContactsServiceImpl) ContactsResolveUsername

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

func (*ContactsServiceImpl) ContactsSearch

contacts.search#11f812d8 q:string limit:int = contacts.Found;

func (*ContactsServiceImpl) ContactsUnblock

func (s *ContactsServiceImpl) ContactsUnblock(ctx context.Context, request *mtproto.TLContactsUnblock) (*mtproto.Bool, error)

contacts.unblock#e54100bd id:InputUser = Bool;

Jump to

Keyboard shortcuts

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