add reply-tag metadata support and externalize system rewrite/dialog strings

This commit is contained in:
DBT
2026-02-23 16:40:50 +00:00
parent e30ced52a3
commit b6b5bfee48
4 changed files with 37 additions and 21 deletions

View File

@@ -16,10 +16,11 @@ type Button struct {
}
type OutboundMessage struct {
Channel string `json:"channel"`
ChatID string `json:"chat_id"`
Content string `json:"content"`
Buttons [][]Button `json:"buttons,omitempty"`
Channel string `json:"channel"`
ChatID string `json:"chat_id"`
Content string `json:"content"`
ReplyToID string `json:"reply_to_id,omitempty"`
Buttons [][]Button `json:"buttons,omitempty"`
}
type MessageHandler func(InboundMessage) error