On this pageAttachmentPayloadA protocol an attachment payload type has to conform in order it can be attached to/exposed on the message.public protocol AttachmentPayload: Codable InheritanceCodableRequirementstypeA type of resulting attachment.static var type: AttachmentType