Object

Below is the data structure of the Message object in Hive:

Field

Type

Description

id

String

Unique alphanumeric string id

containerId

String/Group ID

ID of the chat Group that the Message belongs to

body

String

Body of the Message

sender

String/User ID

ID of the User who sent the Message

senderFirstname

String

Optional name of the sender, can be used to override the display name of the sender for a given Message

senderPicture

String/URL

Optional URL, can be used to override the display image over the sender for a given Message

workspace

String/Workspace ID

ID of the Workspace that the Message belongs to

createdAt

ISO Date String

Date + time of Message creation

modifiedAt

ISO Date String

Date + time that the Message was last modified

createdBy

String/User ID

User ID string of the Message creator

modifiedBy

String/User ID

User ID string of the last user to modify fields on the Message

color

String

Optional background color for the message. Options are yellow, purple, green, red, gray