Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CustomMessageRegistration

Parameters for registering a custom message type.

example
NCEngine.registerCustomMessages([{
messageType: 'app:custom',
isPersisted: true,
isCounted: true,
isStatusMessage: false,
}]);

Hierarchy

  • CustomMessageRegistration

Index

Properties

messageType: string

The unique message type identifier (e.g. 'app:custom')

isPersisted: boolean

Whether messages of this type should be persisted in storage

isCounted: boolean

Whether messages of this type should be included in unread count

isStatusMessage?: boolean

Whether this is a status message (transient, not stored)

remoteFileUrlField?: string

The field name in the content that holds the remote file URL (for media messages)