Comment Class

PropertyTypeOptionalDescription
commentIdnumberNoUnique identifier for the comment pin annotation. Auto generated.
type’text’ | ‘voice’NoThis determines the comment content type. Default is ‘text’.
commentTextstringNoThe actual text content of the comment.
commentHtmlstringYesSame comment text but formatted in HTML.
replaceContentHtmlstringYesHTML content to replace the comment text when user accepts the comment.
replaceContentTextstringYesText content to replace the comment text when user accepts the comment.
commentVoiceUrlstringYesURL of the voice recording for the comment, if available.
fromUserNoThe user who created this comment.
toUser[]YesList of users that were @mentioned in this comment.
lastUpdatedDateYesTimestamp of when this comment was last updated. Auto generated.
editedAtanyYesTimestamp of when this comment was edited. Auto generated.
createdAtanyYesTimestamp of when this comment was created. Auto generated.
isEditedbooleanYesWhether the comment has been edited. Auto generated.
status’added’ | ‘updated’NoStatus of the comment indicating whether it was newly added or updated.
attachmentsAttachment[]NoList of attachments associated with the comment.
recordersRecordedData[]NoList of recorded data associated with the comment.
reactionAnnotationIdsstring[]NoList of annotation IDs for reactions to the comment.
taggedUserContactsAutocompleteUserContactReplaceData[]NoList of users that were @mentioned in this comment. This contains addition metadata that is used to display the @mention in the UI.
customListAutocompleteReplaceData[]NoList of custom list items added to the comment.
isDraftbooleanNoWhether the comment is in draft state.

AutocompleteUserContactReplaceData Class

PropertyTypeOptionalDescription
textstringNoThe text displayed in the comment that represents the tagged user.
userIdstringNoThe user ID of the tagged user.
contactUserYesThe user object of the tagged user.

AutocompleteReplaceData Class

PropertyTypeOptionalDescription
textstringNoThe text displayed in the comment that represents the custom item.
customAutocompleteItemNoThe custom item object associated with this text.

AutocompleteItem Class Properties

PropertyTypeOptionalDescription
idstringNoUnique identifier for the autocomplete item.
namestringNoName or label of the autocomplete item.
descriptionstringYesAdditional description of the autocomplete item.
icon{ url?: string, svg?: string }YesIcon associated with the autocomplete item. Can be a URL or SVG string.
linkstringYesOptional link associated with the autocomplete item.

AutocompleteData Class

PropertyTypeOptionalDescription
hotkeystringNoThe hotkey or trigger for this autocomplete data.
descriptionstringYesOptional description of the autocomplete data.
type’custom’ | ‘contact’ | ‘group’NoThe type of autocomplete data. Default is ‘custom’.
dataAutocompleteItem[]NoAn array of AutocompleteItem objects containing the actual autocomplete data.

Attachment Class

PropertyTypeOptionalDescription
attachmentIdnumberNoUnique identifier for the attachment. Auto-generated.
namestringYesFile name of the attachment.
sizenumberYesFile size of the attachment.
typestringYesFile type of the attachment.
urlstringYesDownload URL of the attachment.
thumbnailstringYesThumbnail image in base64 format.
thumbnailWithPlayIconUrlstringYesURL of the thumbnail with a play icon overlay.
metadataanyYesAdditional metadata of the attachment.
mimeTypeanyYesMIME type of the attachment.