Skip to main content
Table of Contents

TTMSFNCWhatsAppServer.OnRawMessage Event

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.

API unit family: TMSFNCWhatsAppServer Declaring type: TTMSFNCWhatsAppServer Inherited from: TTMSFNCCustomWhatsAppServer

Syntax

FMX.TMSFNCWhatsAppServer.hppPascalC++
OnRawMessage: TTMSFNCWhatsAppServerMessageEvent;
__property TTMSFNCWhatsAppServerMessageEvent OnRawMessage = {read=FOnMessage, write=FOnMessage};

Parameters

Name Description
Sender The server that raised the event.
AMessage The raw inbound HTTP message payload.
ABroadcast Set to False to suppress broadcasting the payload to connected clients.