Initialize new Office365Message object

I’m building an activity library for the Office 365/Graph API tailored to our business needs. For emails, I make the API call and retrieve the emails from the mailbox in JSON, and I want to instantiate them using the UiPath.MicrosoftOffice365.Models.Office365Message object type as it contains fields and handlers for things such as of the message ID that I’ll need later.

When I try to instantiate a new object type Office365Message, I get the error Overload resolution failed because no "New" is accessible. How can I accomplish this?


The new method or intializing method of this type is not exposed yet…so you cannot initalize that object without using the office365 activites