feat: add a new message type: Markdown text (#3162)

This commit is contained in:
OpenIM-Gordon
2025-02-28 16:22:00 +08:00
committed by GitHub
parent bf6d77a267
commit b7f88138bd
5 changed files with 17 additions and 27 deletions
+4
View File
@@ -83,6 +83,10 @@ type TextElem struct {
Content string `json:"content" validate:"required"`
}
type MarkdownTextElem struct {
Content string `mapstructure:"content" validate:"required"`
}
type StreamMsgElem struct {
Type string `mapstructure:"type" validate:"required"`
Content string `mapstructure:"content" validate:"required"`