const (
AttachmentDone AttachmentState = iota
AttachmentIdle
AttachmentUploading
AttachmentProcessing
AttachmentError
)类型 AttachmentState
API 文档由 Go 源码生成,内容为英文。
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.