t×tecexpressby TeKOcloud
DEv0.7.1
API & types / VUE

ChatUser.

Author with a validated key and non-empty name.

ts
interface ChatUser {
  id: RowKey
  name: string
  avatarUrl?: string
}
FieldMeaning
idUnique stable ID.
nameInput field name or file name.
avatarUrlOptional avatar image URL.
ts
import type { ChatUser } from '@tekocloud.de/tecexpress'
const example: ChatUser = { id: 'me', name: 'Alex' }
console.log(example)