fbmessenger-api-0.1.0.2: High-level bindings to Facebook Messenger Platform API

Safe HaskellNone
LanguageHaskell2010

Web.FBMessenger.API.Bot.WebhookAPI

Documentation

data RemoteEvent Source #

Constructors

RemoteEvent 

Fields

data EventMessageContent Source #

Constructors

EmTextMessage Text Int Text

Message ID; Message sequence number; Message text.

EmStructuredMessage Text Int [EventMessageAttachment]

Message ID; Message sequence number; Array containing attachment data (image, video, audio)

EmAuth Text

data-ref parameter that was defined with the entry point

EmDelivery Int Int (Maybe [Text])

Sequence No.; Watermark: all messages that were sent before this timestamp were delivered; Array containing message IDs of messages that were delivered (optional)

EmPostback Text

Contains the postback payload that was defined with the button