feat: support quote ContentType in SendMsg. (#2819)

This commit is contained in:
Monet Lee
2024-12-12 12:13:04 +08:00
committed by GitHub
parent 92ea52febf
commit 0435915df1
2 changed files with 45 additions and 0 deletions
+2
View File
@@ -173,6 +173,8 @@ func (m *MessageApi) getSendMsgReq(c *gin.Context, req apistruct.SendMsg) (sendM
data = apistruct.AtElem{}
case constant.Custom:
data = apistruct.CustomElem{}
case constant.Quote:
data = apistruct.QuoteElem{}
case constant.Stream:
data = apistruct.StreamMsgElem{}
case constant.OANotification: