Skip to main content

InterfaceMessageChat

talawa-apiDocs


talawa-api / models/MessageChat / InterfaceMessageChat

Interface: InterfaceMessageChat

Interface representing a document for a chat in the database (MongoDB).

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