Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
createAttachment :: FilePath -> ByteString -> Attachment Source #
Creates an attachment from a filepath and strict ByteString.
createAttachmentLazy :: FilePath -> ByteString -> Attachment Source #
Creates an attachment from a filepath and lazy ByteString.
addAttachment :: Attachment -> Endo HailgunMessage Source #
Allows you to add an attachment to an already created HailgunMessage. But please note that it will only add your attachment as a standard attachment. Inline attachments must be added at the time that the HailgunMessage was created.