Attachment
Note
This page was generated by extracting information from a JSON Schema data file for the API. It may be missing some information, or otherwise suggest approximate or placeholder values based on information in the schema file; this is due to limitations on how that data is extracted from the underlying Rust code and into the JSON Schema, and then again from there and into these docs.
This is an object value, with the following properties:
-
base64- optionalboolean. If true, thedatafield must be encoded as base64 -
content_id- optional nullablestring. Set theContent-IDheader for this attachment. This is used in multipart/related messages to embed inline images in text/html parts. -
content_type- requiredstring. The MIMEContent-Typeheader that should be set for this attachment. -
data- requiredstring. The content of the payload. This is interpreted as UTF-8 text unless thebase64field is set totrue. -
file_name- optional nullablestring. The the preferred filename for the attachment