Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 616 Bytes

File metadata and controls

36 lines (30 loc) · 616 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const reply = {
  message: {
    toRecipients: [
      {
        emailAddress: {
          address: 'samanthab@contoso.com',
          name: 'Samantha Booth'
        }
      },
      {
        emailAddress: {
          address: 'randiw@contoso.com',
          name: 'Randi Welch'
        }
      }
     ]
  },
  comment: 'Samantha, Randi, would you name the group please?'
};

await client.api('/me/messages/AAMkADA1MTAAAAqldOAAA=/reply')
	.post(reply);