Skip to main content

InterfaceMessage

talawa-api


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:13


createdAt

> createdAt: Date

Defined in

src/models/Message.ts:17


creatorId

> creatorId: any

Defined in

src/models/Message.ts:19


group

> group: any

Defined in

src/models/Message.ts:20


imageUrl

> imageUrl: undefined | string

Defined in

src/models/Message.ts:15


status

> status: string

Defined in

src/models/Message.ts:21


text

> text: string

Defined in

src/models/Message.ts:14


updatedAt

> updatedAt: Date

Defined in

src/models/Message.ts:18


videoUrl

> videoUrl: undefined | string

Defined in

src/models/Message.ts:16