UNPKG

@progress/kendo-angular-conversational-ui

Version:

Kendo UI for Angular Conversational UI components

36 lines (35 loc) 1.2 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Represents a message attachment ([see example]({% slug attachments_chat %})). * */ export interface Attachment { /** * The content type identifier for the attachment. * Typically a MIME type. Can also be any string. */ contentType: string; /** * The content of the attachment. */ content: any; /** * (Optional) The title of the attachment. */ title?: string; /** * (Optional) The subtitle of the attachment. */ subtitle?: string; } /** * Specifies the layout for the message attachments ([see examples]({% slug attachments_chat %}#toc-display-modes)). * * The supported values are: * * `"list"`—A vertical list. * * `"carousel"`—A horizontal, scrollable list. Also called a card deck. */ export type AttachmentLayout = 'list' | 'carousel';