Typegatewayv0.3.1GatewayFileEvery file form discord.js accepts in a message's files field: AttachmentBuilder, Attachment, a Buffer, a node Stream, a path or URL string, and an { attachment, name } payload. type GatewayFile = NonNullable< BaseMessageOptions["files"] >[number];