Attachment
Info
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. OptionalContent-IDheader for this attachment. If specified, this attachment will be added as an inline attachment and a multipart/related MIME container will be generated in the message to hold it and the textual content. -
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