Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexanderHolmeset/e718d80b7bd2e4602ae9e1625a010fc1 to your computer and use it in GitHub Desktop.
Save AlexanderHolmeset/e718d80b7bd2e4602ae9e1625a010fc1 to your computer and use it in GitHub Desktop.
Messages.ps1
{
"properties": {
"@@odata.context": {
"type": [
"string",
"null"
]
},
"@@odata.count": {
"type": "integer"
},
"@@odata.nextLink": {
"type": [
"string",
"null"
]
},
"value": {
"items": {
"properties": {
"attachments": {
"type": "array"
},
"body": {
"properties": {
"content": {
"type": [
"string",
"null"
]
},
"contentType": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"channelIdentity": {},
"chatId": {
"type": [
"string",
"null"
]
},
"createdDateTime": {
"type": [
"string",
"null"
]
},
"deletedDateTime": {},
"etag": {
"type": [
"string",
"null"
]
},
"eventDetail": {},
"from": {
"properties": {
"application": {},
"device": {},
"user": {
"properties": {
"@@odata.type": {
"type": [
"string",
"null"
]
},
"displayName": {
"type": [
"string",
"null"
]
},
"id": {
"type": [
"string",
"null"
]
},
"tenantId": {
"type": [
"string",
"null"
]
},
"userIdentityType": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"id": {
"type": [
"string",
"null"
]
},
"importance": {
"type": [
"string",
"null"
]
},
"lastEditedDateTime": {},
"lastModifiedDateTime": {
"type": [
"string",
"null"
]
},
"locale": {
"type": [
"string",
"null"
]
},
"mentions": {
"type": "array"
},
"messageType": {
"type": [
"string",
"null"
]
},
"policyViolation": {},
"reactions": {
"type": "array"
},
"replyToId": {},
"subject": {},
"summary": {},
"webUrl": {}
},
"required": [
"id",
"replyToId",
"etag",
"messageType",
"createdDateTime",
"lastModifiedDateTime",
"lastEditedDateTime",
"deletedDateTime",
"subject",
"summary",
"chatId",
"importance",
"locale",
"webUrl",
"channelIdentity",
"policyViolation",
"eventDetail",
"from",
"body",
"attachments",
"mentions",
"reactions"
],
"type": [
"object",
"null"
]
},
"type": "array"
}
},
"type": [
"object",
"null"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment