The attachments property accepts File and Blob:
export type MessageAttachment = CustomFile | CustomFile[] | File | File[] | string | CustomFileData | CustomFileData[];
But it's not (properly) implemented, passing a File object will cause a TypeError: source.on is not a function at Function.DelayedStream.create, the same happens for Blob as mentioned in #254. Buffer works, so the type definition should be updated accordingly.