BaseChatMessage

documents. BaseChatMessage

The base ChatMessage model definition which defines common behavior of an ChatMessage document between both client and server.

Constructor

new BaseChatMessage()

Properties:
Name Type Description
data data.ChatMessageData

The constructed data object for the document.

Extends

  • Document

Members

(static) metadata

(static) schema

Methods

(protected, static) _canCreate()

Is a user able to create a new chat message?

(protected, static) _canDelete()

Is a user able to delete an existing chat message?

(protected, static) _canUpdate()

Is a user able to update an existing chat message?