StreamChatAiAssistantRequest class

Request message for SessionService.StreamChatAiAssistant.

Constructors

StreamChatAiAssistantRequest({bool? attachOnly, List<String>? attachedGcsUris, List<String>? clientCapabilities, AssistantConfirmationResponse? confirmationResponse, String? contextToken, String? message, OperationCompletedEvent? operationCompletedEvent, String? resumeFromSequenceNumber})
StreamChatAiAssistantRequest.fromJson(Map json_)

Properties

attachedGcsUris ↔ List<String>?
Cloud Storage URIs for files uploaded by the user during this turn.
getter/setter pair
attachOnly ↔ bool?
Optional flag to attach to an existing in-flight turn without submitting a new message.
getter/setter pair
clientCapabilities ↔ List<String>?
Response features this client can render.
getter/setter pair
confirmationResponse ↔ AssistantConfirmationResponse?
The user's answer to a pending AssistantConfirmationRequest.
getter/setter pair
contextToken ↔ String?
Opaque onboarding context token returned by SessionService.GenerateOnboardingSuggestions.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
message ↔ String?
The message to send to the assistant agent.
getter/setter pair
operationCompletedEvent ↔ OperationCompletedEvent?
Resumes an assistant session paused waiting for a client-managed long-running operation to complete.
getter/setter pair
resumeFromSequenceNumber ↔ String?
Optional cursor to resume and replay events from an in-flight or completed turn.
getter/setter pair
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