Skip to main content

talawa-api / Exports / models/DirectChatMessage / InterfaceDirectChatMessage

Interface: InterfaceDirectChatMessage

models/DirectChatMessage.InterfaceDirectChatMessage

This is an interface representing a document for a direct chat message in the database(MongoDB).

Table of contents

Properties

Properties

_id

_id: ObjectId

Defined in

src/models/DirectChatMessage.ts:10


createdAt

createdAt: Date

Defined in

src/models/DirectChatMessage.ts:16


directChatMessageBelongsTo

directChatMessageBelongsTo: any

Defined in

src/models/DirectChatMessage.ts:11


messageContent

messageContent: string

Defined in

src/models/DirectChatMessage.ts:14


receiver

receiver: any

Defined in

src/models/DirectChatMessage.ts:13


sender

sender: any

Defined in

src/models/DirectChatMessage.ts:12


status

status: string

Defined in

src/models/DirectChatMessage.ts:15


updatedAt

updatedAt: Date

Defined in

src/models/DirectChatMessage.ts:17