File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -864,6 +864,8 @@ export class ActionFlow implements InteractiveAction {
864
864
flow_name ?: string | never ;
865
865
/**
866
866
* The Flow can be in either draft or published mode
867
+ *
868
+ * Defaults to API decision if not provided ("published")
867
869
*/
868
870
mode ?: "published" | "draft" ;
869
871
/**
@@ -872,6 +874,8 @@ export class ActionFlow implements InteractiveAction {
872
874
flow_message_version ?: "3" ;
873
875
/**
874
876
* Flow token that is generated by the business to serve as an identifier
877
+ *
878
+ * Defaults to API decision if not provided
875
879
*/
876
880
flow_token ?: string ;
877
881
/**
@@ -880,6 +884,8 @@ export class ActionFlow implements InteractiveAction {
880
884
flow_cta : string ;
881
885
/**
882
886
* The Flow type. If set to "navigate", flow_action_payload must be provided.
887
+ *
888
+ * Defaults to API decision if not provided ("navigate")
883
889
*/
884
890
flow_action ?: "navigate" | "data_exchange" ;
885
891
/**
@@ -912,16 +918,10 @@ export class ActionFlow implements InteractiveAction {
912
918
) &
913
919
(
914
920
| {
915
- /**
916
- * Unique ID of the Flow provided by WhatsApp
917
- */
918
921
flow_id : string ;
919
922
flow_name ?: never ;
920
923
}
921
924
| {
922
- /**
923
- * Flow name provided by the business as an alternative to flow_id
924
- */
925
925
flow_name : string ;
926
926
flow_id ?: never ;
927
927
}
You can’t perform that action at this time.
0 commit comments