Type AliasButtonParameter
ButtonParameter: { action?: XOR<{ sections?: AtLeastOne<ProductSection>; thumbnail_product_retailer_id: string; }, { flow_action_data: unknown; flow_token: string; }>; coupon_code?: string; payload?: string; text?: string; type: | "text" | "payload" | "action" | "coupon_code"; } Type declaration
Optional
Readonly
action?: XOR<{
sections?: AtLeastOne<ProductSection>;
thumbnail_product_retailer_id: string;
}, {
flow_action_data: unknown;
flow_token: string;
}>
Optional
Readonly
coupon_code?: string
Optional
Readonly
payload?: string
Optional
Readonly
text?: string
Readonly
type:
| "text"
| "payload"
| "action"
| "coupon_code"
The action of the button