Skip to content

Commit

Permalink
Merge pull request #37 from tecoad/patch-4
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosNicolau authored May 30, 2024
2 parents a3859db + 2e43fcb commit 7632590
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/types/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,14 @@ export type InteractiveMessageAction = {
*/
parameters?: {
thumbnail_product_retailer_id?: string;

/**
* Required for Call-to-Action URL Button Messages.
*/
display_text?: string;
/**
* Required for Call-to-Action URL Button Messages.
*/
url?: string;
/**
* Optional for Flows Messages.
*
Expand Down Expand Up @@ -420,7 +427,8 @@ export type InteractiveMessage = {
| "product_list"
| "catalog_message"
| "flow"
| "location_request_message";
| "location_request_message"
| "cta_url";
};

export type ContactMessage = {
Expand Down

0 comments on commit 7632590

Please sign in to comment.