fix: send text message by api doesn't work. (#954)

* send msg

* send_msg

* fix: text

* text
This commit is contained in:
WangchuXiao
2023-08-25 21:03:14 +08:00
committed by GitHub
parent 303162f8a5
commit 31ae8271e7
2 changed files with 12 additions and 2 deletions
+4
View File
@@ -76,6 +76,10 @@ type TextElem struct {
Text string `mapstructure:"text" validate:"required"`
}
type TextContentElem struct {
Content string `json:"content" validate:"required"`
}
type RevokeElem struct {
RevokeMsgClientID string `mapstructure:"revokeMsgClientID" validate:"required"`
}