Skip to content

@sourceloop/chat-service / Exports / Message

Class: Message

Hierarchy

  • UserModifiableEntity<Message>

    Message

Table of contents

Constructors

Properties

Constructors

constructor

new Message(data?)

Parameters

Name Type
data? Partial<Message>

Inherited from

UserModifiableEntity<Message>.constructor

Defined in

packages/core/dist/models/base-entity.model.d.ts:6

Properties

attachmentFiles

attachmentFiles: AttachmentFile[]

Defined in

services/chat-service/src/models/message.model.ts:64


body

body: string

Defined in

services/chat-service/src/models/message.model.ts:28


channelId

channelId: string

Defined in

services/chat-service/src/models/message.model.ts:35


channelType

channelType: string

Defined in

services/chat-service/src/models/message.model.ts:42


createdBy

Optional createdBy: string

Inherited from

UserModifiableEntity.createdBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:4


createdOn

Optional createdOn: Date

Inherited from

UserModifiableEntity.createdOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:4


id

Optional id: string

Defined in

services/chat-service/src/models/message.model.ts:22


messageRecipients

messageRecipients: MessageRecipient[]

Defined in

services/chat-service/src/models/message.model.ts:62


messages

messages: Message[]

Defined in

services/chat-service/src/models/message.model.ts:73


modifiedBy

Optional modifiedBy: string

Inherited from

UserModifiableEntity.modifiedBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:5


modifiedOn

Optional modifiedOn: Date

Inherited from

UserModifiableEntity.modifiedOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:5


parentMessageId

parentMessageId: string

Defined in

services/chat-service/src/models/message.model.ts:70


status

Optional status: number

Defined in

services/chat-service/src/models/message.model.ts:48


subject

Optional subject: string

Defined in

services/chat-service/src/models/message.model.ts:53


toUserId

Optional toUserId: string

Defined in

services/chat-service/src/models/message.model.ts:59