Documentation ¶
Index ¶
- func DoMainServer()
- type ContactsServiceImpl
- func (s *ContactsServiceImpl) ContactsBlock(ctx context.Context, request *mtproto.TLContactsBlock) (*mtproto.Bool, error)
- func (s *ContactsServiceImpl) ContactsDeleteContact(ctx context.Context, request *mtproto.TLContactsDeleteContact) (*mtproto.Contacts_Link, error)
- func (s *ContactsServiceImpl) ContactsDeleteContacts(ctx context.Context, request *mtproto.TLContactsDeleteContacts) (*mtproto.Bool, error)
- func (s *ContactsServiceImpl) ContactsGetBlocked(ctx context.Context, request *mtproto.TLContactsGetBlocked) (*mtproto.Contacts_Blocked, error)
- func (s *ContactsServiceImpl) ContactsGetContacts(ctx context.Context, request *mtproto.TLContactsGetContacts) (*mtproto.Contacts_Contacts, error)
- func (s *ContactsServiceImpl) ContactsGetContacts2(ctx context.Context, request *mtproto.TLContactsGetContacts2) (*mtproto.Contacts_Contacts, error)
- func (s *ContactsServiceImpl) ContactsGetTopPeers(ctx context.Context, request *mtproto.TLContactsGetTopPeers) (*mtproto.Contacts_TopPeers, error)
- func (s *ContactsServiceImpl) ContactsImportCard(ctx context.Context, request *mtproto.TLContactsImportCard) (*mtproto.User, error)
- func (s *ContactsServiceImpl) ContactsImportContacts(ctx context.Context, request *mtproto.TLContactsImportContacts) (*mtproto.Contacts_ImportedContacts, error)
- func (s *ContactsServiceImpl) ContactsResetSaved(ctx context.Context, request *mtproto.TLContactsResetSaved) (*mtproto.Bool, error)
- func (s *ContactsServiceImpl) ContactsResetTopPeerRating(ctx context.Context, request *mtproto.TLContactsResetTopPeerRating) (*mtproto.Bool, error)
- func (s *ContactsServiceImpl) ContactsResolveUsername(ctx context.Context, request *mtproto.TLContactsResolveUsername) (*mtproto.Contacts_ResolvedPeer, error)
- func (s *ContactsServiceImpl) ContactsSearch(ctx context.Context, request *mtproto.TLContactsSearch) (*mtproto.Contacts_Found, error)
- func (s *ContactsServiceImpl) ContactsUnblock(ctx context.Context, request *mtproto.TLContactsUnblock) (*mtproto.Bool, error)
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 ¶
func (s *ContactsServiceImpl) ContactsGetBlocked(ctx context.Context, request *mtproto.TLContactsGetBlocked) (*mtproto.Contacts_Blocked, error)
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 ¶
func (s *ContactsServiceImpl) ContactsGetContacts(ctx context.Context, request *mtproto.TLContactsGetContacts) (*mtproto.Contacts_Contacts, error)
contacts.getContacts#c023849f hash:int = contacts.Contacts;
func (*ContactsServiceImpl) ContactsGetContacts2 ¶
func (s *ContactsServiceImpl) ContactsGetContacts2(ctx context.Context, request *mtproto.TLContactsGetContacts2) (*mtproto.Contacts_Contacts, error)
@benqi: Android client contacts.getContacts#22c6aa08 hash:string = contacts.Contacts;
func (*ContactsServiceImpl) ContactsGetTopPeers ¶
func (s *ContactsServiceImpl) ContactsGetTopPeers(ctx context.Context, request *mtproto.TLContactsGetTopPeers) (*mtproto.Contacts_TopPeers, error)
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 ¶
func (s *ContactsServiceImpl) ContactsImportContacts(ctx context.Context, request *mtproto.TLContactsImportContacts) (*mtproto.Contacts_ImportedContacts, error)
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 ¶
func (s *ContactsServiceImpl) ContactsResolveUsername(ctx context.Context, request *mtproto.TLContactsResolveUsername) (*mtproto.Contacts_ResolvedPeer, error)
contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;
func (*ContactsServiceImpl) ContactsSearch ¶
func (s *ContactsServiceImpl) ContactsSearch(ctx context.Context, request *mtproto.TLContactsSearch) (*mtproto.Contacts_Found, error)
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;