I need to set or reset attachment value programmatically?
For comment text we can do using this function and it's working
client.set('comment.text', value)
But for the attahcment does not work
client.set('comment.attachments', value)
Can anyone help for achieve this problem, It's very important for me

Unfortunately, attachments are unable to be set with the Client API directly. You would need to use the Ticket Attachments workflow which utilizes the Upload & Tickets API's Once you have the token from the Upload API, you can then use the request method from ZAFClient to make the call to the Tickets API and add the attachment.