Client API Reference
Generated reference for schema-registry client methods.

Client API Reference
Generated file warning: this page is generated by
packages/schema/scripts/gen-client-reference-docs.ts. Do not edit generated method content by hand.
These pages are generated from packages/schema/src/registry.ts and packages/schema/src/methods/*.ts.
Preferred interface
Choose how you want to use open-wa. Code examples across the docs follow this choice. The SocketClient protocol is the basis for clients in other languages.
Namespaces
Business
3 client methods
ChatIds
1 client methods
Chats
15 client methods
Communities
6 client methods
Contacts
10 client methods
Groups
22 client methods
Labels
4 client methods
Media
2 client methods
Messages
37 client methods
Mystatus
1 client methods
Session
16 client methods
Status
6 client methods
How the client works
- Schema pipeline — one definition, many projections
- BaseClient — the generated flat client and dispatch table
- Namespaced client — namespace member mapping
- Argument normalization — positional vs object args, aliases
- Aliases — function and parameter key aliases
- Data models — Message, Contact, Chat, GroupMetadata
- Generated types — where input/output type aliases come from
- Worked example: sendText
- Events — registered events and payloads
- Licensed methods — what needs a license key
- All client methods — alphabetical index

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