API References

useVirtualAI

  • messages: ChatMessageDto[] - List of messages of the selected chat room.

  • setMessages: Function - Set the message list

  • activeChat: number - Active room ID (-1 if undefined)

  • setActiveChat: Function - Set active room ID

  • chatRooms: ChatRoom[] - List of chat rooms

  • setChatRooms: Function - Set chat room list

CharacterRoom

  • InputComponent?: React.FC - Override the default Input component

  • AICharacterComponent?: React.FC - Override the default AICharacter component

  • aiCharacterStyle?: CSSProperties - AI Character styles

  • VoiceCallRoomComponent?: React.FC - Override the default VoiceCallRoom component

  • VoiceCallRoomStyle?: CSSProperties - VoiceCallRoom styles

  • ChatMessagesComponent?: React.FC - Override the default ChatMessages component

  • idleAnimations: string[] - List of idle animation states

  • modelAnimations: ModelAnimation[] - List of model animations and states

  • modelPath: string - Model path URL

Last updated