UNPKG

@juzi/wechaty-puppet-whatsapp

Version:
16 lines 1.5 kB
import * as PUPPET from '@juzi/wechaty-puppet'; import { FileBox } from '../config.js'; import type PuppetWhatsApp from '../puppet-whatsapp.js'; import type { WhatsAppContactPayload } from '../schema/whatsapp-type.js'; export declare function contactAlias(this: PuppetWhatsApp, contactId: string): Promise<string>; export declare function contactAlias(this: PuppetWhatsApp, contactId: string, alias: string | null): Promise<void>; export declare function contactPhone(this: PuppetWhatsApp, contactId: string): Promise<string[]>; export declare function contactPhone(this: PuppetWhatsApp, contactId: string, phoneList: string[]): Promise<void>; export declare function contactCorporationRemark(this: PuppetWhatsApp, contactId: string, corporationRemark: string): Promise<never>; export declare function contactDescription(this: PuppetWhatsApp, contactId: string, description: string): Promise<never>; export declare function contactList(this: PuppetWhatsApp): Promise<string[]>; export declare function contactAvatar(this: PuppetWhatsApp, contactId: string): Promise<FileBox>; export declare function contactAvatar(this: PuppetWhatsApp, contactId: string, file: FileBox): Promise<void>; export declare function contactRawPayload(this: PuppetWhatsApp, id: string, forceSync?: boolean): Promise<WhatsAppContactPayload>; export declare function contactRawPayloadParser(this: PuppetWhatsApp, contactPayload: WhatsAppContactPayload): Promise<PUPPET.payloads.Contact>; //# sourceMappingURL=contact.d.ts.map