UNPKG

@juzi/wechaty-puppet-whatsapp

Version:
11 lines 943 B
import * as PUPPET from '@juzi/wechaty-puppet'; import type PuppetWhatsApp from '../puppet-whatsapp.js'; import { Friendship } from '@juzi/wechaty-puppet/payloads'; export declare function friendshipRawPayload(this: PuppetWhatsApp, id: string): Promise<Friendship>; export declare function friendshipRawPayloadParser(rawPayload: Friendship): Promise<PUPPET.payloads.Friendship>; export declare function friendshipSearchPhone(this: PuppetWhatsApp, phone: string): Promise<null | string>; export declare function friendshipSearchWeixin(weixin: string): Promise<null | string>; export declare function friendshipSearchHandle(handle: string): Promise<null | string>; export declare function friendshipAdd(this: PuppetWhatsApp, contactId: string, option?: PUPPET.types.FriendshipAddOptions): Promise<void>; export declare function friendshipAccept(this: PuppetWhatsApp, friendshipId: string): Promise<void>; //# sourceMappingURL=friendship.d.ts.map