Versions in this module Expand all Collapse all v1 v1.0.5 Nov 1, 2023 Changes in this version type MsgSyncResp + Expire uint32 v1.0.4 Aug 6, 2023 v1.0.3 Aug 4, 2023 v1.0.2 Aug 3, 2023 v1.0.1 Aug 1, 2023 Changes in this version + const CMDMessageDeleted + const CMDMessageErase + const ReminderTypeApplyJoinGroup + const ReminderTypeMentionMe + type Conversation struct + func NewConversation(ctx *config.Context) *Conversation + func (co *Conversation) Route(r *wkhttp.WKHttp) + type DB struct + func NewDB(ctx *config.Context) *DB + type IService interface + DeleteConversation func(uid string, channelID string, channelType uint8) error + type Manager struct + func NewManager(ctx *config.Context) *Manager + func (m *Manager) Route(r *wkhttp.WKHttp) + type Message struct + func New(ctx *config.Context) *Message + func (m *Message) Route(r *wkhttp.WKHttp) + type MsgSyncResp struct + ChannelID string + ChannelType uint8 + ClientMsgNo string + ExtraVersion int64 + FromUID string + Header messageHeader + IsDeleted int + MessageExtra *messageExtraResp + MessageID int64 + MessageIDStr string + MessageSeq uint32 + Payload map[string]interface{} + Reactions []*reactionSimpleResp + Readed int + ReadedCount int + ReplyCount int + ReplyCountSeq string + ReplySeq string + Revoke int + Revoker string + Setting uint8 + SignalPayload string + StreamNo string + Streams []*streamItemResp + Timestamp int32 + ToUID string + UnreadCount int + VoiceStatus int + type ProhibitWordModel struct + Content string + IsDeleted int + Version int64 + type ProhibitWordResp struct + Content string + CreatedAt string + Id int64 + IsDeleted int + Version int64 + type ReminderType int + type Service struct + func NewService(ctx *config.Context) *Service + func (s *Service) DeleteConversation(uid string, channelID string, channelType uint8) error + type SyncUserConversationResp struct + ChannelID string + ChannelType uint8 + Extra *conversationExtraResp + LastClientMsgNo string + LastMsgSeq int64 + Mute int + OffsetMsgSeq int64 + Recents []*MsgSyncResp + Stick int + Timestamp int64 + Unread int + Version int64 + type SyncUserConversationRespWrap struct + Conversations []*SyncUserConversationResp + Groups []*group.GroupResp + UID string + Users []*user.UserDetailResp