ChatInputAttachment Type documentation¶
TypeScript declaration¶
Attachment item interface for file attachments in chat messages, extension of Attachment for SiAttachmentListComponent to use within SiChatInputComponent. Adds the action file information. Can be used within SiChatContainerComponent. See: Attachment for base attachment interface See: SiAttachmentListComponent for the attachment list component See: SiChatInputComponent for the chat input component See: SiChatContainerComponent for the base chat container component where this can be used See: SiAiChatComponent for the AI chat container where this needs to be used File object File name name : Optionally show a preview of the attachment by providing a template that is shown in a modal when clicked (optional) previewTemplate ? : File size in bytes MIME typeimport type { ChatInputAttachment } from '@siemens/element-ng/chat-messages';
string Inherited from Attachment ¶ TemplateRef<any> | (() => TemplateRef<any>) Inherited from Attachment ¶
Types Documentation¶
Attachment item interface for file attachments in chat messages, used by SiAttachmentListComponent and inside SiUserMessageComponent as well as SiChatInputComponent. See: SiAttachmentListComponent for the attachment list component See: SiUserMessageComponent for the user message See: SiChatInputComponent for the chat input component File name Optionally show a preview of the attachment by providing a template that is shown in a modal when clicked (optional) previewTemplate ? : import type { Attachment } from '@siemens/element-ng/chat-messages';
TemplateRef<any> | (() => TemplateRef<any>) ¶
Except where otherwise noted, content on this site is licensed under MIT License.