Skip to content

Commit

Permalink
Updated Code
Browse files Browse the repository at this point in the history
  • Loading branch information
DaggieBlanqx committed Jun 22, 2022
1 parent 596b53d commit ad26994
Showing 1 changed file with 20 additions and 23 deletions.
43 changes: 20 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,29 +78,26 @@

- Send a list of buttons to the recipient (max number of buttons allowed are 3)

````js

await Whatsapp.sendButtons({
recipientNumber: recipientNumber,
message: `How may I help you today`,
listOfButtons: [
{
title: 'See some products',
id: 'see_categories',
},
{
title: 'Send my invoice',
id: 'print_invoice',
},
{
title: 'Talk to a human',
id: 'talk_to_human',
},
],
});
```

````
```js
await Whatsapp.sendButtons({
recipientNumber: recipientNumber,
message: `How may I help you today`,
listOfButtons: [
{
title: 'See some products',
id: 'see_categories',
},
{
title: 'Send my invoice',
id: 'print_invoice',
},
{
title: 'Talk to a human',
id: 'talk_to_human',
},
],
});
```

- Send a list of radio buttons to a recipient: (max number of radio buttons allowed are 10)

Expand Down

0 comments on commit ad26994

Please sign in to comment.