Skip to main content

InterfaceChat

talawa-apiDocs


talawa-api / models/Chat / InterfaceChat

Interface: InterfaceChat

Interface representing a document for direct chat in MongoDB.

Properties

_id

> _id: ObjectId

Defined in

src/models/Chat.ts:11


admins

> admins: any[]

Defined in

src/models/Chat.ts:19


createdAt

> createdAt: Date

Defined in

src/models/Chat.ts:20


creatorId

> creatorId: any

Defined in

src/models/Chat.ts:16


isGroup

> isGroup: boolean

Defined in

src/models/Chat.ts:12


lastMessageId

> lastMessageId: string

Defined in

src/models/Chat.ts:22


messages

> messages: any[]

Defined in

src/models/Chat.ts:15


name

> name: string

Defined in

src/models/Chat.ts:13


organization

> organization: any

Defined in

src/models/Chat.ts:17


status

> status: string

Defined in

src/models/Chat.ts:18


updatedAt

> updatedAt: Date

Defined in

src/models/Chat.ts:21


users

> users: any[]

Defined in

src/models/Chat.ts:14