conversation

package
v0.0.0-...-4702bed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchSetConversations

func BatchSetConversations(c *gin.Context)

func GetAllConversationMessageOpt

func GetAllConversationMessageOpt(c *gin.Context)

Deprecated

func GetAllConversations

func GetAllConversations(c *gin.Context)

@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

func GetConversation(c *gin.Context)

@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

func GetConversations(c *gin.Context)

@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 GetReceiveMessageOpt

func GetReceiveMessageOpt(c *gin.Context)

Deprecated

func ModifyConversationField

func ModifyConversationField(c *gin.Context)

func SetConversation

func SetConversation(c *gin.Context)

func SetReceiveMessageOpt

func SetReceiveMessageOpt(c *gin.Context)

Deprecated

func SetRecvMsgOpt

func SetRecvMsgOpt(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL