Skip to main content

InterfaceDirectChatMessage

talawa-apiDocs


talawa-api / models/DirectChatMessage / InterfaceDirectChatMessage

Interface: InterfaceDirectChatMessage

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

Properties

_id

> _id: ObjectId

Defined in

src/models/DirectChatMessage.ts:11


createdAt

> createdAt: Date

Defined in

src/models/DirectChatMessage.ts:17


directChatMessageBelongsTo

> directChatMessageBelongsTo: any

Defined in

src/models/DirectChatMessage.ts:12


messageContent

> messageContent: string

Defined in

src/models/DirectChatMessage.ts:15


receiver

> receiver: any

Defined in

src/models/DirectChatMessage.ts:14


sender

> sender: any

Defined in

src/models/DirectChatMessage.ts:13


status

> status: string

Defined in

src/models/DirectChatMessage.ts:16


updatedAt

> updatedAt: Date

Defined in

src/models/DirectChatMessage.ts:18