Skip to content

isMessageEvent

isMessageEvent(value): value is WebhookValue & { messages: IncomingMessage[] }

Defined in: src/resources/webhook-core.ts:146

True when a change value carries inbound messages.

WebhookValue

value is WebhookValue & { messages: IncomingMessage[] }

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.