public class LarkChannelOptions extends Object
LarkChannel.
The options keep Java SDK conventions such as builders and mutable nested config objects for runtime policy updates.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
LarkChannelOptions.BatchTextConfig
Text batching thresholds used by the message safety pipeline.
|
static class |
LarkChannelOptions.Builder
Builder for immutable top-level channel options.
|
static class |
LarkChannelOptions.OutboundConfig
Outbound sending, media upload, streaming and retry configuration.
|
static class |
LarkChannelOptions.PolicyConfig
Safety policy that decides whether inbound messages should be handled or
rejected before user code runs.
|
static class |
LarkChannelOptions.RetryConfig
Retry configuration for retryable outbound API failures.
|
static class |
LarkChannelOptions.SafetyConfig
Safety pipeline tuning: stale event filtering, deduplication, per-chat
serialization and short-message batching.
|
static class |
LarkChannelOptions.WebhookOptions
Webhook verification settings used by
createWebhookDispatcher(). |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAppId() |
String |
getAppSecret() |
ICache |
getCache() |
ClientAssertionProvider |
getClientAssertionProvider() |
String |
getDomain() |
RequestOptions |
getHttpInstance() |
IHttpTransport |
getHttpTransport() |
String |
getOAuthBaseUrl() |
LarkChannelOptions.OutboundConfig |
getOutbound() |
LarkChannelOptions.PolicyConfig |
getPolicy() |
LarkChannelOptions.SafetyConfig |
getSafety() |
String |
getSource() |
String |
getTransport() |
LarkChannelOptions.WebhookOptions |
getWebhook() |
boolean |
isIncludeRawEvent()
Preferred name for
isIncludeRawInMessage(). |
boolean |
isIncludeRawInMessage()
Whether normalized events should carry the original Feishu event body.
|
static LarkChannelOptions.Builder |
newBuilder(String appId,
String appSecret) |
public static LarkChannelOptions.Builder newBuilder(String appId, String appSecret)
public String getAppId()
public String getAppSecret()
public String getTransport()
public LarkChannelOptions.WebhookOptions getWebhook()
public LarkChannelOptions.SafetyConfig getSafety()
public LarkChannelOptions.PolicyConfig getPolicy()
public LarkChannelOptions.OutboundConfig getOutbound()
public ICache getCache()
public String getDomain()
public IHttpTransport getHttpTransport()
public RequestOptions getHttpInstance()
public String getSource()
public ClientAssertionProvider getClientAssertionProvider()
public String getOAuthBaseUrl()
public boolean isIncludeRawInMessage()
This getter keeps the historical Java name. New code can configure
the same flag with LarkChannelOptions.Builder.includeRawEvent(boolean).
public boolean isIncludeRawEvent()
isIncludeRawInMessage().Copyright © 2026. All rights reserved.