Message
talawa-api • Docs
talawa-api / models/Message / Message
Variable: Message
> const
Message: Model
<InterfaceMessage
, object
, object
, object
, Document
<unknown
, object
, InterfaceMessage
> & InterfaceMessage
& Required
<object
>, any
>
The Mongoose model for the Message. If the model already exists (e.g., during testing), it uses the existing model. Otherwise, it creates a new model.