AssistantConfirmationResponse class

The user's answer to an AssistantConfirmationRequest, sent on the next SessionService.StreamChatAiAssistant call to resume the paused agent.

Constructors

AssistantConfirmationResponse({String? answerText, String? confirmationId, bool? confirmed})
AssistantConfirmationResponse.fromJson(Map json_)

Properties

answerText ↔ String?
The chosen option's submit_text, or free-form user text.
getter/setter pair
confirmationId ↔ String?
The AssistantConfirmationRequest.confirmation_id being answered.
getter/setter pair
confirmed ↔ bool?
Binary answer: true approves the paused action, false declines it.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited