/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { SVGIcon } from "@progress/kendo-svg-icons"; import { Message } from "./message.interface"; /** * Defines the structure of a message action in the Chat interface. * Use these actions to perform specific operations on messages. */ export interface MessageAction { /** * Sets the unique identifier for the action. */ id: string | number; /** * Sets the display text for the action. */ label: string; /** * Sets the icon name for the action. */ icon?: string; /** * Sets the SVG icon object for the action. */ svgIcon?: SVGIcon; /** * Determines whether the action is disabled. */ disabled?: boolean; } export interface MessageActionEvent { /** * Specifies the action that was triggered. */ action: MessageAction; /** * Specifies the message associated with the action. */ message: Message; }