Skip to content

Commit 5f708e9

Browse files
committed
Mini docs fixes
1 parent 09e212c commit 5f708e9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/messages/interactive.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,8 @@ export class ActionFlow implements InteractiveAction {
864864
flow_name?: string | never;
865865
/**
866866
* The Flow can be in either draft or published mode
867+
*
868+
* Defaults to API decision if not provided ("published")
867869
*/
868870
mode?: "published" | "draft";
869871
/**
@@ -872,6 +874,8 @@ export class ActionFlow implements InteractiveAction {
872874
flow_message_version?: "3";
873875
/**
874876
* Flow token that is generated by the business to serve as an identifier
877+
*
878+
* Defaults to API decision if not provided
875879
*/
876880
flow_token?: string;
877881
/**
@@ -880,6 +884,8 @@ export class ActionFlow implements InteractiveAction {
880884
flow_cta: string;
881885
/**
882886
* The Flow type. If set to "navigate", flow_action_payload must be provided.
887+
*
888+
* Defaults to API decision if not provided ("navigate")
883889
*/
884890
flow_action?: "navigate" | "data_exchange";
885891
/**
@@ -912,16 +918,10 @@ export class ActionFlow implements InteractiveAction {
912918
) &
913919
(
914920
| {
915-
/**
916-
* Unique ID of the Flow provided by WhatsApp
917-
*/
918921
flow_id: string;
919922
flow_name?: never;
920923
}
921924
| {
922-
/**
923-
* Flow name provided by the business as an alternative to flow_id
924-
*/
925925
flow_name: string;
926926
flow_id?: never;
927927
}

0 commit comments

Comments
 (0)