chat method
Future<OryksaReply>
chat(
- String message, {
- required String locale,
- OryksaAppContext? appContext,
- bool voice = false,
override
Sends a message to the AI and waits for the reply (the assistant panel).
Implementation
@override
Future<OryksaReply> chat(String message, {required String locale, OryksaAppContext? appContext, bool voice = false}) {
final lang = oryksaTvChatLang(locale);
return client.sendAndWaitReply(message, appContext: appContext, voice: voice, lang: lang.isEmpty ? null : lang);
}