const (
AttachmentDone AttachmentState = iota
AttachmentIdle
AttachmentUploading
AttachmentProcessing
AttachmentError
)Type AttachmentState
type AttachmentState uint8AttachmentState mirrors Base UI's idle, uploading, processing, error, and done states. Done is the zero value so ordinary attachments need no setup.