|
|
@ -219,6 +219,8 @@ func (m *MessageApi) getSendMsgReq(c *gin.Context, req apistruct.SendMsg) (sendM
|
|
|
|
data = &apistruct.CustomElem{}
|
|
|
|
data = &apistruct.CustomElem{}
|
|
|
|
case constant.MarkdownText:
|
|
|
|
case constant.MarkdownText:
|
|
|
|
data = &apistruct.MarkdownTextElem{}
|
|
|
|
data = &apistruct.MarkdownTextElem{}
|
|
|
|
|
|
|
|
case constant.Quote:
|
|
|
|
|
|
|
|
data = &apistruct.QuoteElem{}
|
|
|
|
case constant.OANotification:
|
|
|
|
case constant.OANotification:
|
|
|
|
data = &apistruct.OANotificationElem{}
|
|
|
|
data = &apistruct.OANotificationElem{}
|
|
|
|
req.SessionType = constant.NotificationChatType
|
|
|
|
req.SessionType = constant.NotificationChatType
|
|
|
|