jssdk

package
v3.8.2-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveConversationsReq

type ActiveConversationsReq struct {
	Count int `json:"count"`
}

type ConversationMsg

type ConversationMsg struct {
	Conversation *conversation.Conversation `json:"conversation"`
	LastMsg      *sdkws.MsgData             `json:"lastMsg"`
	MaxSeq       int64                      `json:"maxSeq"`
	ReadSeq      int64                      `json:"readSeq"`
}

type ConversationsResp

type ConversationsResp struct {
	UnreadCount   int64             `json:"unreadCount"`
	Conversations []ConversationMsg `json:"conversations"`
}

type JSSdk

type JSSdk struct {
	// contains filtered or unexported fields
}

func NewJSSdkApi

func NewJSSdkApi(msg msg.MsgClient, conv conversation.ConversationClient) *JSSdk

func (*JSSdk) GetActiveConversations

func (x *JSSdk) GetActiveConversations(c *gin.Context)

func (*JSSdk) GetConversations

func (x *JSSdk) GetConversations(c *gin.Context)

Jump to

Keyboard shortcuts

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