Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMessageReceivedWebhook ¶
func GetMessageReceivedWebhook(stateMachine fsm.StateMachine, store fsm.Store) func(http.ResponseWriter, *http.Request)
GetMessageReceivedWebhook is the webhook that facebook posts to when a message is received from a user.
This must be a POST request, and have the same URL as the GET request.
https://developers.facebook.com/docs/messenger-platform/getting-started/webhook-setup
func SetupWebhook ¶
func SetupWebhook(w http.ResponseWriter, r *http.Request)
SetupWebhook adds support for the Messenger Platform's webhook verification to your webhook. This is required to ensure your webhook is authentic and working.
This must be a GET request, and have the same URL as the POST request.
https://developers.facebook.com/docs/messenger-platform/getting-started/webhook-setup
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.
