Author with a validated key and non-empty name.
interface ChatUser {
id: RowKey
name: string
avatarUrl?: string
}| Field | Meaning |
|---|---|
| id | Unique stable ID. |
| name | Input field name or file name. |
| avatarUrl | Optional avatar image URL. |
import type { ChatUser } from '@tekocloud.de/tecexpress'
const example: ChatUser = { id: 'me', name: 'Alex' }
console.log(example)