Skip to content

AttachmentInputDict

Dictionary Type

AttachmentInputDict

Bases: TypedDict

Dictionary form of AttachmentInput.

Attributes

copy_from instance-attribute
copy_from: CopyFromSource | CopyFromSourceDict | None

A reference to an existing attachment.

data instance-attribute
data: bytes | None

The contents of the attachment.

name instance-attribute
name: str | None

The filename of the attachment.