open-wa
DocsAPI reference

ChatIds Client API

Generated client method reference for the chatIds namespace.

ChatIds Client API

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

getAllChatIds

Get all chat IDs

Signature client.getAllChatIds(): Promise<ChatId[]>

Usage

import { SocketClient } from '@open-wa/socket-client';

const client = await SocketClient.connect('http://localhost:8080', 'YOUR_API_KEY');
const result = await client.getAllChatIds();

Parameters

This method does not define input parameters.

Returns

PropValue
Return typePromise<ChatId[]>
ChatIdView fields

Resolves to ChatId[]. A rejected Promise indicates input validation or dispatch failure.

This method is not declared on the in-process Client facade. Use the remote Node.js client or HTTP API. Opaque conversation identifier. Use the exact value returned by a message event or chat lookup.

Advanced method metadata

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

Was this helpful?

Your answer includes the page path and docs version.

On this page