delete_attachment Method
Deletes an attachment.
Syntax
def delete_attachment(id: str, attachment_id: str) -> None: ...
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. This will not delete the attachment from the Attachments* properties.