summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickyAction.d.ts
blob: bb6faa4fd682a11250d7e3614f68b8e1459bf8ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
import { IWidgetApiResponseData } from "./IWidgetApiResponse";
export interface IStickyActionRequestData extends IWidgetApiRequestData {
    value: boolean;
}
export interface IStickyActionRequest extends IWidgetApiRequest {
    action: WidgetApiFromWidgetAction.UpdateAlwaysOnScreen;
    data: IStickyActionRequestData;
}
export interface IStickyActionResponseData extends IWidgetApiResponseData {
    success: boolean;
}
export interface IStickyActionResponse extends IStickyActionRequest {
    response: IStickyActionResponseData;
}