Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Add a type field to Facebook postbacks #448

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ examples/db_team_bot/
.DS_Store
*/.DS_Store
.env

# IDEA/WebStorm Project Files
.idea
*.iml
Empty file modified LICENSE.md
100755 → 100644
Empty file.
Empty file modified facebook_bot.js
100755 → 100644
Empty file.
1 change: 1 addition & 0 deletions lib/Facebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ function Facebookbot(configuration) {
facebook_botkit.trigger('facebook_postback', [bot, message]);

var message = {
type: 'facebook_postback',
text: facebook_message.postback.payload,
user: facebook_message.sender.id,
channel: facebook_message.sender.id,
Expand Down
Empty file modified readme.md
100755 → 100644
Empty file.