evolution-api-sdk
Version:
Unofficial SDK for the Evolution Whatsapp API v2
15 lines (12 loc) • 360 B
text/typescript
import { ChatId } from '../../../types/tags.mjs';
interface FindContactsRequest {
number: ChatId;
}
interface Contact {
id: ChatId;
name: string;
pushname: string;
}
type FindContactsResponse = Contact[];
type FindContactsOptions = FindContactsRequest;
export type { Contact, FindContactsOptions, FindContactsRequest, FindContactsResponse };