init(id:content:label:)
Creates an attachment segment that wraps the content you provide.
Declaration
init(id: String = UUID().uuidString, content: Transcript.Attachment, label: String? = nil)Parameters
- id:
A unique identifier for the segment.
- content:
The attached file or image.
- label:
An optional label that identifies the attachment.