contacts_client

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContactsClient

type ContactsClient interface {
	AccountGetContactSignUpNotification(ctx context.Context, in *mtproto.TLAccountGetContactSignUpNotification) (*mtproto.Bool, error)
	AccountSetContactSignUpNotification(ctx context.Context, in *mtproto.TLAccountSetContactSignUpNotification) (*mtproto.Bool, error)
	ContactsGetContactIDs(ctx context.Context, in *mtproto.TLContactsGetContactIDs) (*mtproto.Vector_Int, error)
	ContactsGetStatuses(ctx context.Context, in *mtproto.TLContactsGetStatuses) (*mtproto.Vector_ContactStatus, error)
	ContactsGetContacts(ctx context.Context, in *mtproto.TLContactsGetContacts) (*mtproto.Contacts_Contacts, error)
	ContactsImportContacts(ctx context.Context, in *mtproto.TLContactsImportContacts) (*mtproto.Contacts_ImportedContacts, error)
	ContactsDeleteContacts(ctx context.Context, in *mtproto.TLContactsDeleteContacts) (*mtproto.Updates, error)
	ContactsDeleteByPhones(ctx context.Context, in *mtproto.TLContactsDeleteByPhones) (*mtproto.Bool, error)
	ContactsBlock(ctx context.Context, in *mtproto.TLContactsBlock) (*mtproto.Bool, error)
	ContactsUnblock(ctx context.Context, in *mtproto.TLContactsUnblock) (*mtproto.Bool, error)
	ContactsGetBlocked(ctx context.Context, in *mtproto.TLContactsGetBlocked) (*mtproto.Contacts_Blocked, error)
	ContactsSearch(ctx context.Context, in *mtproto.TLContactsSearch) (*mtproto.Contacts_Found, error)
	ContactsGetTopPeers(ctx context.Context, in *mtproto.TLContactsGetTopPeers) (*mtproto.Contacts_TopPeers, error)
	ContactsResetTopPeerRating(ctx context.Context, in *mtproto.TLContactsResetTopPeerRating) (*mtproto.Bool, error)
	ContactsResetSaved(ctx context.Context, in *mtproto.TLContactsResetSaved) (*mtproto.Bool, error)
	ContactsGetSaved(ctx context.Context, in *mtproto.TLContactsGetSaved) (*mtproto.Vector_SavedContact, error)
	ContactsToggleTopPeers(ctx context.Context, in *mtproto.TLContactsToggleTopPeers) (*mtproto.Bool, error)
	ContactsAddContact(ctx context.Context, in *mtproto.TLContactsAddContact) (*mtproto.Updates, error)
	ContactsAcceptContact(ctx context.Context, in *mtproto.TLContactsAcceptContact) (*mtproto.Updates, error)
	ContactsGetLocated(ctx context.Context, in *mtproto.TLContactsGetLocated) (*mtproto.Updates, error)
}

func NewContactsClient

func NewContactsClient(cli zrpc.Client) ContactsClient

Jump to

Keyboard shortcuts

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