open-wa v5 is alpha. Use v4.76.0 for mature production systems unless you are validating v5.
The Client APIAPI ExplorerLicensing

ChatIds Client API

Generated client method reference for the chatIds namespace.

Client Chatids Methods Wally

ChatIds Client API

Generated file warning: this page is generated by packages/schema/scripts/gen-client-reference-docs.ts. Do not edit generated method content by hand.

This page documents 1 schema-registry client methods in the chatIds namespace.

getAllChatIds

Get all chat IDs

Overview

PropValue
NamespacechatIds
Actionread
Functionalityboth
Positional parameter order-
AliaseschatIds.all, chatIds.getAll, chatIds.list, chats.ids, listChatIds
Deprecated aliases-
Licensenone
WAPI override-
DeprecatedNo

Routes

TypeMethodPathNameStatus
PrimaryGET/api/chatIds/getAllgetAllChatIdsActive
AliasGET/api/chatIds/allchatIds.allActive
AliasGET/api/chatIds/listchatIds.listActive
AliasGET/api/chats/idschats.idsActive
AliasGET/api/getAllChatIdsgetAllChatIdsActive
AliasGET/api/listChatIdslistChatIdsActive

Usage

const result = await client.getAllChatIds({});
const result = await client.chatIds.getAll({});
curl -X GET "http://localhost:8080/api/chatIds/getAll" \
  -H "content-type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  --data '{}'

Parameters

This method does not define input parameters.

Output

PropValue
Return typestring[]
Wally the Walrus typing

Was this helpful?

Wally and his cute companion coffee mug are coding day and night to keep this up-to-date!

On this page