Skip to content

Commit

Permalink
Merge pull request #31 from MarcosNicolau/fix/interactive-message
Browse files Browse the repository at this point in the history
fix: 🐛 interactive message optional fields
  • Loading branch information
MarcosNicolau authored May 27, 2024
2 parents 5d61d30 + de9662d commit 1d8ebff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export type InteractiveActionSection = {
* Required for Multi-Product Messages.
* Array of product objects. There is a minimum of 1 product per section and a maximum of 30 products across all sections.
*/
product_items: {
product_items?: {
/**
* Unique identifier of the product in a catalog.
*/
Expand All @@ -206,7 +206,7 @@ export type InteractiveActionSection = {
* Required for List Messages.
* Contains a list of rows. You can have a total of 10 rows across your sections.
*/
rows: {
rows?: {
/**
* Maximum length: 200 characters
*/
Expand All @@ -226,7 +226,7 @@ export type InteractiveActionSection = {
*
* Maximum length: 24 characters.
*/
title: string;
title?: string;
};

/**
Expand Down

0 comments on commit 1d8ebff

Please sign in to comment.