summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts
blob: a0447dda5d0d827f606a6fed44998e1adee8d797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest";
import { WidgetApiFromWidgetAction } from "./WidgetApiAction";
import { IWidgetApiAcknowledgeResponseData } from "./IWidgetApiResponse";
export interface INavigateActionRequest extends IWidgetApiRequest {
    action: WidgetApiFromWidgetAction.MSC2931Navigate;
    data: INavigateActionRequestData;
}
export interface INavigateActionRequestData extends IWidgetApiRequestData {
    uri: string;
}
export interface INavigateActionResponse extends INavigateActionRequest {
    response: IWidgetApiAcknowledgeResponseData;
}