core

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContactsCore

type ContactsCore struct {
	logx.Logger
	MD *metadata.RpcMetadata
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, svcCtx *svc.ServiceContext) *ContactsCore

func (*ContactsCore) AccountGetContactSignUpNotification

func (c *ContactsCore) AccountGetContactSignUpNotification(in *mtproto.TLAccountGetContactSignUpNotification) (*mtproto.Bool, error)

AccountGetContactSignUpNotification account.getContactSignUpNotification#9f07c728 = Bool;

func (*ContactsCore) AccountSetContactSignUpNotification

func (c *ContactsCore) AccountSetContactSignUpNotification(in *mtproto.TLAccountSetContactSignUpNotification) (*mtproto.Bool, error)

AccountSetContactSignUpNotification account.setContactSignUpNotification#cff43f61 silent:Bool = Bool;

func (*ContactsCore) ContactsAcceptContact

func (c *ContactsCore) ContactsAcceptContact(in *mtproto.TLContactsAcceptContact) (*mtproto.Updates, error)

ContactsAcceptContact contacts.acceptContact#f831a20f id:InputUser = Updates;

func (*ContactsCore) ContactsAddContact

func (c *ContactsCore) ContactsAddContact(in *mtproto.TLContactsAddContact) (*mtproto.Updates, error)

ContactsAddContact contacts.addContact#e8f463d0 flags:# add_phone_privacy_exception:flags.0?true id:InputUser first_name:string last_name:string phone:string = Updates;

func (*ContactsCore) ContactsBlock

func (c *ContactsCore) ContactsBlock(in *mtproto.TLContactsBlock) (*mtproto.Bool, error)

ContactsBlock contacts.block#68cc1411 id:InputPeer = Bool;

func (*ContactsCore) ContactsDeleteByPhones

func (c *ContactsCore) ContactsDeleteByPhones(in *mtproto.TLContactsDeleteByPhones) (*mtproto.Bool, error)

ContactsDeleteByPhones contacts.deleteByPhones#1013fd9e phones:Vector<string> = Bool;

func (*ContactsCore) ContactsDeleteContacts

func (c *ContactsCore) ContactsDeleteContacts(in *mtproto.TLContactsDeleteContacts) (*mtproto.Updates, error)

ContactsDeleteContacts contacts.deleteContacts#96a0e00 id:Vector<InputUser> = Updates;

func (*ContactsCore) ContactsGetBlocked

func (c *ContactsCore) ContactsGetBlocked(in *mtproto.TLContactsGetBlocked) (*mtproto.Contacts_Blocked, error)

ContactsGetBlocked contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked;

func (*ContactsCore) ContactsGetContactIDs

func (c *ContactsCore) ContactsGetContactIDs(in *mtproto.TLContactsGetContactIDs) (*mtproto.Vector_Int, error)

ContactsGetContactIDs contacts.getContactIDs#7adc669d hash:long = Vector<int>;

func (*ContactsCore) ContactsGetContacts

func (c *ContactsCore) ContactsGetContacts(in *mtproto.TLContactsGetContacts) (*mtproto.Contacts_Contacts, error)

ContactsGetContacts contacts.getContacts#5dd69e12 hash:long = contacts.Contacts;

func (*ContactsCore) ContactsGetLocated

func (c *ContactsCore) ContactsGetLocated(in *mtproto.TLContactsGetLocated) (*mtproto.Updates, error)

ContactsGetLocated contacts.getLocated#d348bc44 flags:# background:flags.1?true geo_point:InputGeoPoint self_expires:flags.0?int = Updates;

func (*ContactsCore) ContactsGetSaved

ContactsGetSaved contacts.getSaved#82f1e39f = Vector<SavedContact>;

func (*ContactsCore) ContactsGetStatuses

ContactsGetStatuses contacts.getStatuses#c4a353ee = Vector<ContactStatus>;

func (*ContactsCore) ContactsGetTopPeers

func (c *ContactsCore) ContactsGetTopPeers(in *mtproto.TLContactsGetTopPeers) (*mtproto.Contacts_TopPeers, error)

ContactsGetTopPeers contacts.getTopPeers#973478b6 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:long = contacts.TopPeers;

func (*ContactsCore) ContactsImportContacts

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

func (*ContactsCore) ContactsResetSaved

func (c *ContactsCore) ContactsResetSaved(in *mtproto.TLContactsResetSaved) (*mtproto.Bool, error)

ContactsResetSaved contacts.resetSaved#879537f1 = Bool;

func (*ContactsCore) ContactsResetTopPeerRating

func (c *ContactsCore) ContactsResetTopPeerRating(in *mtproto.TLContactsResetTopPeerRating) (*mtproto.Bool, error)

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

func (*ContactsCore) ContactsSearch

func (c *ContactsCore) ContactsSearch(in *mtproto.TLContactsSearch) (*mtproto.Contacts_Found, error)

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

func (*ContactsCore) ContactsToggleTopPeers

func (c *ContactsCore) ContactsToggleTopPeers(in *mtproto.TLContactsToggleTopPeers) (*mtproto.Bool, error)

ContactsToggleTopPeers contacts.toggleTopPeers#8514bdda enabled:Bool = Bool;

func (*ContactsCore) ContactsUnblock

func (c *ContactsCore) ContactsUnblock(in *mtproto.TLContactsUnblock) (*mtproto.Bool, error)

ContactsUnblock contacts.unblock#bea65d50 id:InputPeer = Bool;

Jump to

Keyboard shortcuts

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