SendMessageConfiguration

发送消息请求的配置。

JSON 表示法
{
  "acceptedOutputModes": [
    string
  ],
  "pushNotification": {
    object (PushNotificationConfig)
  },
  "historyLength": integer,
  "blocking": boolean
}
字段
acceptedOutputModes[]

string

代理应响应的输出模式。

pushNotification

object (PushNotificationConfig)

可用于接收更新的 Webhook 的配置

historyLength

integer

历史记录中包含的消息数量上限。如果为 0,则历史记录不受限制。

blocking

boolean

如果为 true,则消息将处于阻塞状态,直到任务完成。如果为 false,则消息将处于非阻塞状态,并且任务将立即返回。调用方有责任检查是否有任何任务更新。