DeleteAttachment Method
Deletes an Attachment.
Syntax
public fun deleteAttachment(id: String?, attachmentId: String?)
Remarks
This method deletes an attachment. id takes the ID of the message the attachment is attached to. attachmentId takes the attachment ID of an existing attachment.