Skip to main content

MessagePreview (Object)

Description

No description



Fields

NameDescription
addressSignature - String!The signature of address of the message. Required to fetch messages of a conversation.
attachmentPreview - AttachmentPreviewThe preview details of the first file attached to this message
attachmentsCount - Int!The number of files attached to the message
authorId - String!The member ID of the author in the site
authorName - StringCached copy of the author’s name. The property is not updated if the author name gets changed after the message is sent.
embedPreview - EmbedPreviewThe preview details of the first image attached to this message
embedsCount - Int!The number of links embedded in the message
imagePreview - ImagePreviewThe preview details of the first image attached to this message
imagesCount - Int!The number of images associated with the message
messageId - String!The ID of the message
meta - MessageMetadataMeta information of the message. May contain additional information regarding chat logs or contextual data of the message
pageId - String!The ID of the page this message belongs to
preview - StringThe preview of the message
sentAt - DateTime!The date the message was sent

type MessagePreview {
addressSignature: String!
attachmentPreview: AttachmentPreview
attachmentsCount: Int!
authorId: String!
authorName: String
embedPreview: EmbedPreview
embedsCount: Int!
imagePreview: ImagePreview
imagesCount: Int!
messageId: String!
meta: MessageMetadata
pageId: String!
preview: String
sentAt: DateTime!
}