OryksaReply class
Answer of send: replied with the text, or pending while the AI is still writing.
Constructors
- OryksaReply({required String status, String? reply, String? conversationId, String? speech, bool whisper = false})
-
Creates a reply.
const
-
OryksaReply.fromJson(Map<
String, dynamic> j) -
Reads a
chat_replyobject.factory
Properties
- conversationId → String?
-
Conversation id.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reply → String?
-
Text of the reply when status is
replied.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speech → String?
-
With
voice: true: the short spoken version of reply (1-2 sentences, no markdown). The whole reply stays in the chat.final - status → String
-
repliedorpending.final - whisper → bool
-
The customer whispered: speak speech whispered.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited