Documentation
¶
Index ¶
- func BatchSetConversations(c *gin.Context)
- func GetAllConversationMessageOpt(c *gin.Context)
- func GetAllConversations(c *gin.Context)
- func GetConversation(c *gin.Context)
- func GetConversations(c *gin.Context)
- func GetReceiveMessageOpt(c *gin.Context)
- func ModifyConversationField(c *gin.Context)
- func SetConversation(c *gin.Context)
- func SetReceiveMessageOpt(c *gin.Context)
- func SetRecvMsgOpt(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchSetConversations ¶
func GetAllConversations ¶
@Summary 获取用户所有会话 @Description 获取用户所有会话 @Tags 会话相关 @ID GetAllConversations @Accept json @Param token header string true "im token" @Param req body api.GetAllConversationsReq true "ownerUserID为要获取的用户ID" @Produce json @Success 0 {object} api.GetAllConversationsResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /msg/get_all_conversations [post]
func GetConversation ¶
@Summary 根据会话ID获取会话 @Description 根据会话ID获取会话 @Tags 会话相关 @ID GetConversation @Accept json @Param token header string true "im token" @Param req body api.GetConversationReq true "ownerUserID为要获取的用户ID<br>conversationID为要获取的会话ID" @Produce json @Success 0 {object} api.GetConversationResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /msg/get_conversation [post]
func GetConversations ¶
@Summary 根据会话ID列表获取会话 @Description 根据会话ID列表获取会话 @Tags 会话相关 @ID GetConversations @Accept json @Param token header string true "im token" @Param req body api.GetConversationsReq true "ownerUserID为要获取的用户ID<br>conversationIDs为要获取的会话ID列表" @Produce json @Success 0 {object} api.GetConversationsResp @Failure 500 {object} api.Swagger500Resp "errCode为500 一般为服务器内部错误" @Failure 400 {object} api.Swagger400Resp "errCode为400 一般为参数输入错误, token未带上等" @Router /msg/get_conversations [post]
func ModifyConversationField ¶
func SetConversation ¶
func SetRecvMsgOpt ¶
Types ¶
This section is empty.