Skip to main content

GroupChatMessage

talawa-apiDocs


talawa-api / models/GroupChatMessage / GroupChatMessage

Variable: GroupChatMessage

> const GroupChatMessage: Model<InterfaceGroupChatMessage, object, object, object, Document<unknown, object, InterfaceGroupChatMessage> & InterfaceGroupChatMessage & Required<object>, any>

The Mongoose model for the GroupChatMessage. If the model already exists (e.g., during testing), it uses the existing model. Otherwise, it creates a new model.

Defined in

src/models/GroupChatMessage.ts:74