summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts
blob: 7f0f62ae5d22dec4d949764bb586652fa6d95e4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}