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 OpenIM-Robot
parent 8342f97349
commit 6bba316e64
5 changed files with 27 additions and 32 deletions
+9
View File
@@ -81,6 +81,15 @@ 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"`
}
type RevokeElem struct {
RevokeMsgClientID string `mapstructure:"revokeMsgClientID" validate:"required"`
}