Decodes every attachment carried by a program.
Program to read.
One entry per attachment, each tagged with its message and position.
for (const attachment of extractAttachments(request)) { console.log(attachment.kind, attachment.mimeType);} Copy
for (const attachment of extractAttachments(request)) { console.log(attachment.kind, attachment.mimeType);}
Decodes every attachment carried by a program.