Skip to main content

ChatMessage Model

Overview​

id field chatId field threadId field senderId field content field status field createdBy field isDeleted field isIndependent field canReply field messageType field reactions field sentAt field isEdited field forwardedFrom field repliedTo field forwardedTo field isPinned field isStarred field messageStatus field editedAt field deletedAt field mentions field created_at field modified_at field

Fields​

FieldTypeDescriptionRequired
idstringid field❌
chatIdstringchatId field❌
threadIdstringthreadId field❌
senderIdstringsenderId field❌
contentstringcontent field❌
statusstringstatus field❌
createdBystringcreatedBy field❌
isDeletedbooleanisDeleted field❌
isIndependentbooleanisIndependent field❌
canReplybooleancanReply field✅
messageTypestringmessageType field❌
reactionsarrayreactions field❌
sentAtdatesentAt field❌
isEditedbooleanisEdited field❌
forwardedFromstringforwardedFrom field❌
repliedToarrayrepliedTo field❌
forwardedToarrayforwardedTo field❌
isPinnedbooleanisPinned field❌
isStarredbooleanisStarred field❌
messageStatusstringmessageStatus field❌
editedAtdateeditedAt field❌
deletedAtdatedeletedAt field❌
mentionsarraymentions field❌
created_atdatecreated_at field❌
modified_atdatemodified_at field❌

Sample JSON​

{
"id": "example_value",
"chatId": "example_value",
"threadId": "example_value",
"senderId": "example_value",
"content": "example_value",
"status": "example_value",
"createdBy": "example_value",
"isDeleted": "example_value",
"isIndependent": "example_value",
"canReply": "example_value",
"messageType": "example_value",
"reactions": "example_value",
"sentAt": "example_value",
"isEdited": "example_value",
"forwardedFrom": "example_value",
"repliedTo": "example_value",
"forwardedTo": "example_value",
"isPinned": "example_value",
"isStarred": "example_value",
"messageStatus": "example_value",
"editedAt": "example_value",
"deletedAt": "example_value",
"mentions": "example_value",
"created_at": "example_value",
"modified_at": "example_value"
}