Skip to main content

InterfaceChatMessage

talawa-apiDocs


talawa-api / models/ChatMessage / InterfaceChatMessage

Interface: InterfaceChatMessage

Represents a document for a chat message in the MongoDB database.

Properties

_id

> _id: ObjectId

Defined in

src/models/ChatMessage.ts:11


chatMessageBelongsTo

> chatMessageBelongsTo: any

Defined in

src/models/ChatMessage.ts:12


createdAt

> createdAt: Date

Defined in

src/models/ChatMessage.ts:18


deletedBy

> deletedBy: any[]

Defined in

src/models/ChatMessage.ts:17


messageContent

> messageContent: string

Defined in

src/models/ChatMessage.ts:15


replyTo

> replyTo: any

Defined in

src/models/ChatMessage.ts:14


sender

> sender: any

Defined in

src/models/ChatMessage.ts:13


status

> status: string

Defined in

src/models/ChatMessage.ts:16


updatedAt

> updatedAt: Date

Defined in

src/models/ChatMessage.ts:19