@progress/kendo-angular-conversational-ui
Version:
Kendo UI for Angular Conversational UI components
42 lines (41 loc) • 1.56 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { FileAction } from "./file-action";
import { MessageAction } from "./message-action";
import { MessageWidthMode } from "./message-width-mode";
/**
* Represents the settings for the Chat message ([see example](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/chat/data-binding)).
*
*/
export interface MessageSettings {
/**
* If set to `true`, enables the expanding/collapsing of long messages.
*/
allowMessageCollapse?: boolean;
/**
* Sets the array of actions displayed in the message toolbar.
*/
messageToolbarActions?: MessageAction[];
/**
* Sets the array of actions displayed in the message context menu.
*/
messageContextMenuActions?: MessageAction[];
/**
* Sets the array of actions displayed for message files.
*/
fileActions?: FileAction[];
/**
* Sets the mode used to determine message width.
*/
messageWidthMode?: MessageWidthMode;
/**
* Controls the visibility of the author's avatar in the message group.
*/
showAvatar?: boolean;
/**
* Controls the visibility of the author's username in the message group.
*/
showUsername?: boolean;
}