Skip to main content

talawa-api / Exports / models/MessageChat / InterfaceMessageChat

Interface: InterfaceMessageChat

models/MessageChat.InterfaceMessageChat

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

Table of contents

Properties

Properties

_id

_id: ObjectId

Defined in

src/models/MessageChat.ts:9


createdAt

createdAt: Date

Defined in

src/models/MessageChat.ts:14


languageBarrier

languageBarrier: boolean

Defined in

src/models/MessageChat.ts:11


message

message: string

Defined in

src/models/MessageChat.ts:10


receiver

receiver: any

Defined in

src/models/MessageChat.ts:13


sender

sender: any

Defined in

src/models/MessageChat.ts:12


updatedAt

updatedAt: Date

Defined in

src/models/MessageChat.ts:15