Table of Contents

TTMSFNCWhatsAppServer Class

Ready-to-use server component that receives messaging webhook callbacks over HTTP and relays inbound payloads to connected WebSocket clients.

API unit family: TMSFNCWhatsAppServer Inherits from: TTMSFNCCustomWhatsAppServer

Syntax

TTMSFNCWhatsAppServer = class(TTMSFNCCustomWhatsAppServer)

Remarks

Drop this component on a form and configure the published properties to register the webhook endpoint, then handle TTMSFNCCustomWhatsAppServer.OnRawMessage to inspect or filter inbound messages.

Properties

Name Description
VerifyToken Token compared against the verification challenge sent by the webhook provider when the endpoint is registered. (inherited from TTMSFNCCustomWhatsAppServer)

Events

Name Description
OnRawMessage Occurs when a raw inbound message is received over HTTP, allowing the payload to be inspected and the broadcast to connected clients to be suppressed. (inherited from TTMSFNCCustomWhatsAppServer)