thirdPartyCloudStorage module
Note
This namespace is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Extended files API 3P storage providers, features like sending Blob from Teams to 3P app on user actions like drag and drop to compose
Interfaces
AssembleAttachment |
Interface to assemble file chunks |
DragAndDropFileCallback | |
FileChunk |
File chunks an output of getDragAndDropFiles API from platform |
FileResult |
Output of getDragAndDropFiles API from platform |
FilesFor3PStorage |
Object used to represent a file |
Functions
get |
Get drag-and-drop files using a callback. |
is |
Checks if the thirdPartyCloudStorage capability is supported by the host |
Function Details
getDragAndDropFiles(string, DragAndDropFileCallback)
Note
This API is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Get drag-and-drop files using a callback.
function getDragAndDropFiles(dragAndDropInput: string, dragAndDropFileCallback: DragAndDropFileCallback)
Parameters
- dragAndDropInput
-
string
unique id which is a combination of replyToId + threadId of teams chat and channel. Both replyToId and threadId can be fetched from application context.
- dragAndDropFileCallback
- DragAndDropFileCallback
callback A callback function to handle the result of the operation
isSupported()
Note
This API is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Checks if the thirdPartyCloudStorage capability is supported by the host
function isSupported(): boolean
Returns
boolean
boolean to represent whether the thirdPartyCloudStorage capability is supported