public abstract class ConversationParam extends Object
| Constructor and Description |
|---|
ConversationParam() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
buildMessageBody(String protocol)
Build the message body by the protocol.
|
String |
getMsgId() |
abstract Class<? extends ConversationResult> |
resultType()
Get the related server output structure, which should be a subclass of `ConversationResult`.
|
abstract String |
url()
The url suffix to call the server side.
|
public String getMsgId()
public abstract String url()
public abstract String buildMessageBody(String protocol) throws ApiException
protocol - The protocol, can be 'http' or 'websocket'.ApiException - if the input is invalid.public abstract Class<? extends ConversationResult> resultType()
Copyright © 2023. All rights reserved.