@progress/kendo-angular-conversational-ui
Version:
Kendo UI for Angular Conversational UI components
31 lines (30 loc) • 1.22 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 { SafeUrl } from '@angular/platform-browser';
/**
* Represents a participant in a Chat conversation ([see example](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/chat)).
*/
export interface User {
/**
* Sets a unique ID for the user. Usually a number, but can be a string or object.
*/
id: any;
/**
* Sets the display name for the user.
*/
name?: string;
/**
* Sets an avatar image for the user. By default, the URLs are sanitized.
* To allow unsafe values, such as a blob URI, [mark the value as a `SafeUrl`](https://angular.io/guide/security#bypass-security-apis).
*/
avatarUrl?: string | SafeUrl;
/**
* Sets the alt text for the user's avatar image.
*
* @remarks
* This option is related to accessibility.
*/
avatarAltText?: string;
}