Skip to content

AttachmentInput

Structure Class

AttachmentInput dataclass

Bases: _SerdeShape

This is either a file directly uploaded into a web experience chat or a reference to an existing attachment that is part of a web experience chat.

Attributes

copy_from class-attribute instance-attribute
copy_from: CopyFromSource | None = ...

A reference to an existing attachment.

data class-attribute instance-attribute
data: bytes | None = ...

The contents of the attachment.

name class-attribute instance-attribute
name: str | None = ...

The filename of the attachment.