Represents a participant in a Chat conversation (see example).

avatarUrl? string | SafeUrl

(Optional) An avatar image for the user. By default, the URLs of the avatar images will be sanitized. To allow unsafe values,
for example, a blob URI, mark the value as a SafeUrl

import { DomSanitizer } from '@angular/platform-browser';
const avatarUrl = sanitizer.bypassSecurityTrustUrl('blob.');

id any

A unique ID for this user. Typically, the ID is a number. Can also be a string or an object.

name? string

(Optional) The displayed name for the user.