Versions in this module Expand all Collapse all v0 v0.1.0 Aug 6, 2026 Changes in this version + const ErrCodeFormatError + const ErrCodePermissionDenied + const ErrCodeRateLimited + const ErrCodeSSRFBlocked + const ErrCodeSendTimeout + const ErrCodeTargetRevoked + const ErrCodeUnknown + const MediaKindAudio + const MediaKindFile + const MediaKindImage + const MediaKindVideo + const RejectReasonDMDisabled + const RejectReasonGroupNotAllowed + const RejectReasonMentionAll + const RejectReasonNoMention + const RejectReasonSenderNotAllowed + var ClassifyError = types.ClassifyError + var DefaultBatchConfig = types.DefaultBatchConfig + var IsFormatError = types.IsFormatError + var IsRetryable = types.IsRetryable + type BatchConfig = types.BatchConfig + type BatchedDispatch = types.BatchedDispatch + type BotAddedEvent = types.BotAddedEvent + type BotIdentity = types.BotIdentity + type BotIdentityCacheConfig = types.BotIdentityCacheConfig + type CardActionContext = types.CardActionContext + type CardActionEvent = types.CardActionEvent + type CardActionOperator = types.CardActionOperator + type CardActionPayload = types.CardActionPayload + type Channel interface + RawClient func() *lark.Client + func New(appID, appSecret string, opts ...Option) (Channel, error) + type CommentEvent = types.CommentEvent + type FeishuChannelError = types.FeishuChannelError + type FeishuChannelErrorCode = types.FeishuChannelErrorCode + type MediaKind = types.MediaKind + type Mention = types.Mention + type NormalizedMessage = types.NormalizedMessage + type OperatorInfo = types.OperatorInfo + type Option func(*config) + func WithBotIdentityCacheConfig(cfg types.BotIdentityCacheConfig) Option + func WithClientAssertionProvider(provider larkcore.ClientAssertionProvider) Option + func WithDomain(domain string) Option + func WithEnableTokenCache(enable bool) Option + func WithHTTPClient(httpClient larkcore.HttpClient) Option + func WithHeaders(headers http.Header) Option + func WithLogLevel(level larkcore.LogLevel) Option + func WithLogger(logger larkcore.Logger) Option + func WithOAuthBaseURL(baseURL string) Option + func WithOpenBaseURL(baseURL string) Option + func WithOutboundConfig(cfg types.OutboundConfig) Option + func WithPolicyConfig(cfg types.PolicyConfig) Option + func WithReqTimeout(timeout time.Duration) Option + func WithSafetyConfig(cfg types.SafetyConfig) Option + func WithSource(source string) Option + func WithTokenCache(cache larkcore.Cache) Option + func WithWebSocketDomain(domain string) Option + type OutboundConfig = types.OutboundConfig + type PolicyConfig = types.PolicyConfig + type PolicyDecision = types.PolicyDecision + type ReactionEvent = types.ReactionEvent + type RejectEvent = types.RejectEvent + type RejectReason = types.RejectReason + type Resource = types.Resource + type SafetyConfig = types.SafetyConfig + type SendInput = types.SendInput + type SendResult = types.SendResult + type StreamController = types.StreamController + type UploadInput = types.UploadInput + type UploadResult = types.UploadResult