mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
a246b79a4f
- Refactor channel adapters (feishu, telegram, local) with enhanced descriptor and config - Restructure channel manager, service, types, and outbound messaging - Simplify chat module by removing normalize.go and chat.go, consolidating into resolver and types - Update router channel handlers and tests - Sync swagger documentation
9 lines
255 B
Go
9 lines
255 B
Go
package channel
|
|
|
|
import "context"
|
|
|
|
// InboundProcessor handles inbound messages and replies through the given sender.
|
|
type InboundProcessor interface {
|
|
HandleInbound(ctx context.Context, cfg ChannelConfig, msg InboundMessage, sender ReplySender) error
|
|
}
|