Skip to main content

InterfaceMessage

talawa-apiDocs


talawa-api / models/Message / InterfaceMessage

Interface: InterfaceMessage

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

Properties

_id

> _id: ObjectId

Defined in

src/models/Message.ts:11


createdAt

> createdAt: Date

Defined in

src/models/Message.ts:15


creatorId

> creatorId: any

Defined in

src/models/Message.ts:17


group

> group: any

Defined in

src/models/Message.ts:18


imageUrl

> imageUrl: undefined | string

Defined in

src/models/Message.ts:13


status

> status: string

Defined in

src/models/Message.ts:19


text

> text: string

Defined in

src/models/Message.ts:12


updatedAt

> updatedAt: Date

Defined in

src/models/Message.ts:16


videoUrl

> videoUrl: undefined | string

Defined in

src/models/Message.ts:14