From 5f708e99d69fd506860acd52d10c87b862e74585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Raiti?= <46955459+Secreto31126@users.noreply.github.com> Date: Thu, 27 Feb 2025 03:58:06 -0300 Subject: [PATCH] Mini docs fixes --- src/messages/interactive.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/messages/interactive.ts b/src/messages/interactive.ts index 1f37a528..cd3a9232 100644 --- a/src/messages/interactive.ts +++ b/src/messages/interactive.ts @@ -864,6 +864,8 @@ export class ActionFlow implements InteractiveAction { flow_name?: string | never; /** * The Flow can be in either draft or published mode + * + * Defaults to API decision if not provided ("published") */ mode?: "published" | "draft"; /** @@ -872,6 +874,8 @@ export class ActionFlow implements InteractiveAction { flow_message_version?: "3"; /** * Flow token that is generated by the business to serve as an identifier + * + * Defaults to API decision if not provided */ flow_token?: string; /** @@ -880,6 +884,8 @@ export class ActionFlow implements InteractiveAction { flow_cta: string; /** * The Flow type. If set to "navigate", flow_action_payload must be provided. + * + * Defaults to API decision if not provided ("navigate") */ flow_action?: "navigate" | "data_exchange"; /** @@ -912,16 +918,10 @@ export class ActionFlow implements InteractiveAction { ) & ( | { - /** - * Unique ID of the Flow provided by WhatsApp - */ flow_id: string; flow_name?: never; } | { - /** - * Flow name provided by the business as an alternative to flow_id - */ flow_name: string; flow_id?: never; }