Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jpeng/file sharing complete #23793

Merged
merged 4 commits into from
May 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,7 @@
"description": "The type of attachment.",
"enum": [
"teamsInlineImage",
"teamsImage",
"file"
],
"type": "string",
Expand All @@ -1382,7 +1383,7 @@
"id": {
"description": "Id of the attachment",
"type": "string",
"example": "A27C7079-626F-4D23-8BEE-582F2C376B5A"
"example": "f508ce15-e878-431f-b871-f530cac5331d"
},
"attachmentType": {
"$ref": "#/definitions/AttachmentType"
Expand Down Expand Up @@ -1418,7 +1419,7 @@
"message": {
"description": "Chat message content for messages of types text or html.",
"type": "string",
"example": "<p>Come one guys, lets go for lunch together.</p><img id=\"A27C7079-626F-4D23-8BEE-582F2C376B5A\">"
"example": "<p>Come one guys, lets go for lunch together.</p><img id=\"f508ce15-e878-431f-b871-f530cac5331d\">"
},
"topic": {
"description": "Chat message content for messages of type topicUpdated.",
Expand All @@ -1437,25 +1438,7 @@
"type": "array",
"items": {
"$ref": "#/definitions/ChatAttachment"
},
"example": [
{
"id": "A27C7079-626F-4D23-8BEE-582F2C376B5A",
"attachmentType": "teamsInlineImage",
"contentType": "png",
"name": "SomeImage.png",
"url": "https://{geoChatGW}/threads/{chatThreadId}/messages/{chatMessageId}/teamsInterop/images/{imageId}/views/original",
"previewUrl": "https://{geoChatGW}/threads/{chatThreadId}/messages/{chatMessageId}/teamsInterop/images/{imageId}/views/small"
},
{
"id": "R47C7079-626F-4D23-8BEE-582F2CS543F",
"attachmentType": "file",
"contentType": "txt",
"name": "document.txt",
"url": "https://example.sharepoint.com/gYVRbks8GlpVRbk-PoBs8GlpgYVRbk",
"previewUrl": ""
}
]
}
},
"initiatorCommunicationIdentifier": {
"$ref": "#/definitions/CommunicationIdentifierModel"
Expand Down