Skip to content

Interface: ChatMessage

Defined in: models/ChatMessage.ts:3

Extends

Properties

contents

contents: string

Defined in: models/ChatMessage.ts:22

The contents of the message


created

created: string

Defined in: models/DbItem.ts:3

Inherited from

DbItem.created


deleted

deleted: boolean

Defined in: models/ChatMessage.ts:32

Whether the message has been deleted


edited

edited: boolean

Defined in: models/ChatMessage.ts:27

Whether the message has been edited


emergencyId

emergencyId: string

Defined in: models/ChatMessage.ts:7

The emergency associated with the chat message


id

id: string

Defined in: models/DbItem.ts:2

Inherited from

DbItem.id


messageSentTimestamp

messageSentTimestamp: number

Defined in: models/ChatMessage.ts:17

The timestamp at which the message was sent in Unix seconds


senderId

senderId: string

Defined in: models/ChatMessage.ts:12

The user id of the message sender


updated

updated: string

Defined in: models/DbItem.ts:4

Inherited from

DbItem.updated

Released under the GPL-3.0 License.