messenger_bot v1.0.0-rc.4 MessengerBot.Web.Service.Setup

MessengerBot webhook setup handler

Link to this section Summary

Functions

Process setup webhooks coming from Facebook Messenger Platform

Link to this section Types

Link to this type app()
app() :: Map.t()
Link to this type messenger_webhook_setup_params()
messenger_webhook_setup_params() ::
  %{
    optional(String.t()) => String.t(),
    optional(String.t()) => String.t(),
    optional(String.t()) => String.t()
  }
  | Map.t()
Link to this type res()
res() :: {status(), Map.t()}
Link to this type status()
status() :: :ok | :unprocessable_entity | :unauthorized

Link to this section Functions

Process setup webhooks coming from Facebook Messenger Platform