Skip to main content

talawa-api / Exports / models/Message / InterfaceMessage

Interface: InterfaceMessage

models/Message.InterfaceMessage

This is an interface that represents a database(MongoDB) document for Message.

Table of contents

Properties

Properties

_id

_id: ObjectId

Defined in

src/models/Message.ts:10


createdAt

createdAt: Date

Defined in

src/models/Message.ts:14


creatorId

creatorId: any

Defined in

src/models/Message.ts:16


group

group: any

Defined in

src/models/Message.ts:17


imageUrl

imageUrl: undefined | string

Defined in

src/models/Message.ts:12


status

status: string

Defined in

src/models/Message.ts:18


text

text: string

Defined in

src/models/Message.ts:11


updatedAt

updatedAt: Date

Defined in

src/models/Message.ts:15


videoUrl

videoUrl: undefined | string

Defined in

src/models/Message.ts:13