Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Jan 2, 2023
1 parent da82a76 commit b22cbcf
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,17 @@ In facebook Extension settings you have to enter

From WhatsApp perspective we support `images`, `text`, `video`, `audio`, `contact`, `location`, `sticker`, `document` messages types

To send camapign of template messages this cronjob has to be setup.
To send campaign of template messages this cronjob has to be setup.

## How to listen for quick reply actions from templates you send?

Each quick reply button send from lhc get's payload constructed as.

> `$item->template.'-quick_reply_'.$indexButton,` => `quick_reply-quick_reply_0`
This is needed because we don't have chat upfront and can't set payload upfront.

So just listen for `Custom text matching` with that keyword. This sample is provided [in bot sample](https://raw.githubusercontent.com/LiveHelperChat/fbmessenger/master/doc/whatsapp/bot-sample.json)

## Gotchas

Expand Down

0 comments on commit b22cbcf

Please sign in to comment.