summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.d.ts
blob: 177dfcef53332faa71e1c4f3157e0fe180a58f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
import { IWidgetApiAcknowledgeResponseData } from "./IWidgetApiResponse";
import { ModalButtonID } from "./ModalWidgetActions";
export interface ISetModalButtonEnabledActionRequestData extends IWidgetApiRequestData {
    enabled: boolean;
    button: ModalButtonID;
}
export interface ISetModalButtonEnabledActionRequest extends IWidgetApiRequest {
    action: WidgetApiFromWidgetAction.SetModalButtonEnabled;
    data: ISetModalButtonEnabledActionRequestData;
}
export interface ISetModalButtonEnabledActionResponse extends ISetModalButtonEnabledActionRequest {
    response: IWidgetApiAcknowledgeResponseData;
}