class

ActionBot::Adapters::WhatsAppAdapter

Inherits ActionBot::WebhookVerification < ActionBot::IngressAdapter < ActionBot::DeliveryAdapter < Reference < Object

Constants

DEFAULT_BASE = "https://graph.facebook.com"

Constructors

Instance methods

deliver(msg : OutboundMessage) : DeliveryReceipt
Source
message_payload(msg : OutboundMessage) : String
Source
parse_update(payload : JSON::Any) : Update
Source
verify_webhook?(headers : HTTP::Headers, body : String) : Bool
Source
webhook_challenge(params : HTTP::Params) : String | Nil

GET verification: echo hub.challenge when the token matches.

Source