Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 414 Bytes

File metadata and controls

23 lines (17 loc) · 414 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const attachment = {
    '@odata.type': '#microsoft.graph.fileAttachment',
    name: 'menu.txt',
    contentBytes: 'bWFjIGFuZCBjaGVlc2UgdG9kYXk='
};

await client.api('/me/events/AAMkAGI1AAAt9AHjAAA=/attachments')
	.version('beta')
	.post(attachment);