Skip to main content

IMessageHandler interface

Message handler plugin interface.

Signature:
export interface IMessageHandler extends IPluginMethodMap
Extends: [IPluginMethodMap](/docs/api/core-types.ipluginmethodmap)

Methods

MethodDescription
handleMessage(args, context)

Parses a raw message.

After the message is parsed, you can decide if it should be saved, and pass the result to dataStoreSaveMessage() to save it.