responseModalities

The requested modalities of the response (TEXT, IMAGE, AUDIO).


public final Interaction.Builder responseModalities(JsonField<List<Interaction.ResponseModality>> responseModalities)

Sets Builder.responseModalities to an arbitrary JSON value.

You should usually call Builder.responseModalities with a well-typed List<ResponseModality> value instead. This method is primarily for setting the field to an undocumented or not yet supported value.