Hello,
I am able to set a comment text in a ticket using
client.invoke('ticket.comment.appendText', 'Some text').then(function () {console.log('text has been appended');});
Is there a way to do this for attachments. I have a support app with an attachment linked to it. The attachment is already uploaded to zendesk with the content url available. On a button click we want the attachment and some text to get copied over to the ticket comments section for agent review before publishing the ticket.
Thanks in advance!