any-attachment-payload-properties
type
A type of attachment that will be created when the message is sent.
public let type: AttachmentType
payload
A payload that will exposed on attachment when the message is sent.
public let payload: Encodable
localFileURL
A URL referencing to the local file that should be uploaded.
public let localFileURL: URL?