The Node.js SDK re-exports the WAJS namespace for TypeScript. This reference describes types from WA-JS 4.8.5-rc.0 . For operations available on a connected Node.js client, see Whatsapp . For functions running inside WhatsApp Web, see the WA-JS browser API .
Interface ChatListOptions
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:17
Properties
Optionalcount
count ?: number
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:19
Optionaldirection
direction ?: "before" | "after"
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:20
Optionalid
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:18
ignoreGroupMetadata ?: boolean
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:28
Optionalonly Archived
onlyArchived ?: boolean
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:26
Optionalonly Communities
onlyCommunities ?: boolean
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:21
Optionalonly Groups
onlyGroups ?: boolean
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:22
Optionalonly Newsletter
onlyNewsletter ?: boolean
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:23
Optionalonly Users
onlyUsers ?: boolean
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:24
Optionalonly With Unread Message
onlyWithUnreadMessage ?: boolean
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:25
Optionalwith Labels
withLabels ?: string []
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/list.d.ts:27