Documentation ¶
Index ¶
- 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) ContactsExportCard(ctx context.Context, request *mtproto.TLContactsExportCard) (*mtproto.VectorInt, 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) ContactsGetStatuses(ctx context.Context, request *mtproto.TLContactsGetStatuses) (*mtproto.Vector_ContactStatus, 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 ¶
This section is empty.
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) ContactsExportCard ¶
func (s *ContactsServiceImpl) ContactsExportCard(ctx context.Context, request *mtproto.TLContactsExportCard) (*mtproto.VectorInt, error)
contacts.exportCard#84e53737 = Vector<int>;
func (*ContactsServiceImpl) ContactsGetBlocked ¶
func (s *ContactsServiceImpl) ContactsGetBlocked(ctx context.Context, request *mtproto.TLContactsGetBlocked) (*mtproto.Contacts_Blocked, error)
contacts.blocked#1c138d15 blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked; contacts.blockedSlice#900802a1 count:int blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked;
contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked;
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) ContactsGetStatuses ¶
func (s *ContactsServiceImpl) ContactsGetStatuses(ctx context.Context, request *mtproto.TLContactsGetStatuses) (*mtproto.Vector_ContactStatus, error)
contacts.getStatuses#c4a353ee = Vector<ContactStatus>;
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;
Source Files ¶
- contacts.block_handler.go
- contacts.deleteContact_handler.go
- contacts.deleteContacts_handler.go
- contacts.exportCard_handler.go
- contacts.getBlocked_handler.go
- contacts.getContacts_handler.go
- contacts.getStatuses_handler.go
- contacts.getTopPeers_handler.go
- contacts.importCard_handler.go
- contacts.importContacts_handler.go
- contacts.resetSaved_handler.go
- contacts.resetTopPeerRating_handler.go
- contacts.resolveUsername_handler.go
- contacts.search_handler.go
- contacts.unblock_handler.go
- contacts_service_impl.go