IComment
Defined in: tickets/comments.types.ts:5
A comment on a Zendesk ticket, public or an internal note.
Properties
Section titled “Properties”attachments?
Section titled “attachments?”
optionalattachments?:IAttachment[] |null
Defined in: tickets/comments.types.ts:7
Attachments, if any. See Attachment.
audit_id?
Section titled “audit_id?”
optionalaudit_id?:number|null
Defined in: tickets/comments.types.ts:9
The id of the ticket audit record. See Show Audit.
author_id?
Section titled “author_id?”
optionalauthor_id?:number|null
Defined in: tickets/comments.types.ts:11
The id of the comment author. See Author id.
optionalbody?:string|null
Defined in: tickets/comments.types.ts:13
The comment string. See Bodies.
created_at?
Section titled “created_at?”
optionalcreated_at?:string|null
Defined in: tickets/comments.types.ts:15
The time the comment was created.
html_body?
Section titled “html_body?”
optionalhtml_body?:string|null
Defined in: tickets/comments.types.ts:17
The comment formatted as HTML. See Bodies.
optionalid?:number|null
Defined in: tickets/comments.types.ts:19
Automatically assigned when the comment is created.
metadata?
Section titled “metadata?”
optionalmetadata?:IMetadata|null
Defined in: tickets/comments.types.ts:21
System information (web client, IP address, etc.) and comment flags, if any. See Comment flags.
plain_body?
Section titled “plain_body?”
optionalplain_body?:string|null
Defined in: tickets/comments.types.ts:23
The comment presented as plain text. See Bodies.
public?
Section titled “public?”
optionalpublic?:boolean|null
Defined in: tickets/comments.types.ts:25
true if a public comment; false if an internal note. The initial value set on ticket creation persists for any additional comment unless you change it.
optionaltype?:"Comment"|"VoiceComment"|null
Defined in: tickets/comments.types.ts:27
Comment or VoiceComment. The JSON object for adding voice comments to tickets is different. See Adding voice comments to tickets.
uploads?
Section titled “uploads?”
optionaluploads?:string[] |null
Defined in: tickets/comments.types.ts:29
List of tokens received from uploading files for comment attachments. The files are attached by creating or updating tickets with the tokens. See Attaching files in Tickets.
optionalvia?:IVia|null
Defined in: tickets/comments.types.ts:31
Describes how the object was created. See the Via object reference.