Skip to content

Commit

Permalink
response_json is always a string
Browse files Browse the repository at this point in the history
  • Loading branch information
Secreto31126 committed Feb 27, 2025
1 parent d53e916 commit 09e212c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "whatsapp-api-js",
"version": "5.1.0",
"version": "5.1.1",
"author": "Secreto31126",
"description": "A TypeScript server agnostic Whatsapp's Official API framework",
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -585,17 +585,17 @@ export type ServerInteractiveMessage = {
| {
name: "address_message";
body?: string;
response_json: unknown;
response_json: string;
}
| {
name: "flow";
body: "Sent";
response_json: unknown;
response_json: string;
}
| {
name?: string;
body?: string;
response_json: unknown;
response_json: string;
};
button_reply: never;
list_reply: never;
Expand Down

0 comments on commit 09e212c

Please sign in to comment.