From 633c92eae865e957121e08de634aeee11a8b3992 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Mon, 24 Apr 2023 14:03:36 +0200 Subject: Updated 18 files, added 1692 files and deleted includes/system/compare.inc (automated) --- .../lib/interfaces/StickerAction.d.ts | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts (limited to 'includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts') diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts new file mode 100644 index 0000000..0ae474b --- /dev/null +++ b/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts @@ -0,0 +1,29 @@ +import { IWidgetApiRequest, IWidgetApiRequestData } from "./IWidgetApiRequest"; +import { WidgetApiFromWidgetAction } from "./WidgetApiAction"; +import { IWidgetApiAcknowledgeResponseData } from "./IWidgetApiResponse"; +export interface IStickerActionRequestData extends IWidgetApiRequestData { + name: string; + description?: string; + content: { + url: string; + info?: { + h?: number; + w?: number; + mimetype?: string; + size?: number; + thumbnail_info?: { + h?: number; + w?: number; + mimetype?: string; + size?: number; + }; + }; + }; +} +export interface IStickerActionRequest extends IWidgetApiRequest { + action: WidgetApiFromWidgetAction.SendSticker; + data: IStickerActionRequestData; +} +export interface IStickerActionResponse extends IStickerActionRequest { + response: IWidgetApiAcknowledgeResponseData; +} -- cgit