You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
For example, when a Facebook bot receives a post back it will trigger both the facebook_postback and message_received events, while this is good for conversational usage it means that messages will be processed twice in some cases. It would be good if there were an easy way to tell if a message had been generated from a post back in the message_received handler.
I'd like to add a type field to the message which would be set to facebook_postback (similar to how the Slack bot adds a type field to some messages).
(Botkit versions 0.4.0 and HEAD)
The text was updated successfully, but these errors were encountered:
For example, when a Facebook bot receives a post back it will trigger both the
facebook_postback
andmessage_received
events, while this is good for conversational usage it means that messages will be processed twice in some cases. It would be good if there were an easy way to tell if a message had been generated from a post back in the message_received handler.I'd like to add a
type
field to the message which would be set tofacebook_postback
(similar to how the Slack bot adds atype
field to some messages).(Botkit versions 0.4.0 and HEAD)
The text was updated successfully, but these errors were encountered: