Skip to content

Qbusiness  >  Structures  >  AttachmentInput

AttachmentInput

Structure Class

AttachmentInput dataclass

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 = None

A reference to an existing attachment.

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

The contents of the attachment.

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

The filename of the attachment.