Interface ChatKitThreadUserMessageItem.Content.Visitor
-
- All Implemented Interfaces:
public interface ChatKitThreadUserMessageItem.Content.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract T
visitInputText(ChatKitThreadUserMessageItem.Content.InputText inputText)
Text block that a user contributed to the thread. abstract T
visitQuotedText(ChatKitThreadUserMessageItem.Content.QuotedText quotedText)
Quoted snippet that the user referenced in their message. T
unknown(JsonValue json)
Maps an unknown variant of Content to a value of type T. -
-
Method Detail
-
visitInputText
abstract T visitInputText(ChatKitThreadUserMessageItem.Content.InputText inputText)
Text block that a user contributed to the thread.
-
visitQuotedText
abstract T visitQuotedText(ChatKitThreadUserMessageItem.Content.QuotedText quotedText)
Quoted snippet that the user referenced in their message.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Content to a value of type T.
An instance of Content can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-