GraphRequestDataAttachment
publicclassGraphRequestDataAttachment
A container for data attachments so that additional metadata can be provided about the attachment (like content type or filename).
publicclassGraphRequestDataAttachment
publicinit(data:Data,filename:String?=nil,contentType:String?=nil)
data | The attachment data (retained, not copied). |
filename | Optional filename for the attachment. Default: nil . |
contentType | Optional content type for the attachment. Default: nil . |