We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getComments
TicketComment[]
1 parent 5141990 commit bd605a4Copy full SHA for bd605a4
src/clients/core/tickets.js
@@ -523,7 +523,7 @@ class Tickets extends Client {
523
/**
524
* Retrieve comments associated with a specific ticket.
525
* @param {number} ticketId - The ID of the ticket to retrieve comments for.
526
- * @returns {Promise<Array>} A promise that resolves with an array of comments associated with the ticket.
+ * @returns {Promise<Array<TicketComment>>} A promise that resolves with an array of comments associated with the ticket.
527
* @throws {Error} If `ticketId` is not a valid number.
528
* @see {@link https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/}
529
* @example
0 commit comments