summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts')
-rw-r--r--includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts
new file mode 100644
index 0000000..7f0f62a
--- /dev/null
+++ b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts
@@ -0,0 +1,13 @@
+import { IWidgetApiRequest, IWidgetApiRequestEmptyData } from "./IWidgetApiRequest";
+import { WidgetApiToWidgetAction } from "./WidgetApiAction";
+import { IWidgetApiResponseData } from "./IWidgetApiResponse";
+export interface IScreenshotActionRequest extends IWidgetApiRequest {
+ action: WidgetApiToWidgetAction.TakeScreenshot;
+ data: IWidgetApiRequestEmptyData;
+}
+export interface IScreenshotActionResponseData extends IWidgetApiResponseData {
+ screenshot: Blob;
+}
+export interface IScreenshotActionResponse extends IScreenshotActionRequest {
+ response: IScreenshotActionResponseData;
+}