Files
Memoh/internal/channel/capabilities.go
T
BBQ ca5c6a1866 refactor(core): restructure conversation, channel and message domains
- Rename chat module to conversation with flow-based architecture
- Move channelidentities into channel/identities subpackage
- Add channel/route for routing logic
- Add message service with event hub
- Add MCP providers: container, directory, schedule
- Refactor Feishu/Telegram adapters with directory and stream support
- Add platform management page and channel badges in web UI
- Update database schema for conversations, messages and channel routes
- Add @memoh/shared package for cross-package type definitions
2026-02-12 15:34:40 +08:00

23 lines
920 B
Go

package channel
// ChannelCapabilities describes the feature matrix of a channel type.
// It is used by the outbound layer to validate message content before delivery.
type ChannelCapabilities struct {
Text bool `json:"text"`
Markdown bool `json:"markdown"`
RichText bool `json:"rich_text"`
Attachments bool `json:"attachments"`
Media bool `json:"media"`
Reactions bool `json:"reactions"`
Buttons bool `json:"buttons"`
Reply bool `json:"reply"`
Threads bool `json:"threads"`
Streaming bool `json:"streaming"`
Polls bool `json:"polls"`
Edit bool `json:"edit"`
Unsend bool `json:"unsend"`
NativeCommands bool `json:"native_commands"`
BlockStreaming bool `json:"block_streaming"`
ChatTypes []string `json:"chat_types,omitempty"`
}