对本地会话的未读消息数清零。
connection.localCache.clearConversationUnreadCount({conversationId: 'conversationId', conversationType: 'singleChat' })
获取单个本地会话。
connection.localCache.getLocalConversation({conversationId: 'conversationId', conversationType: 'singleChat' })
获取本地会话列表。
connection.localCache.getLocalConversations()
删除单个本地会话。
connection.localCache.removeLocalConversation({conversationId: 'conversationId', conversationType: 'singleChat' })
设置本地会话自定义字段。
connection.localCache.setLocalConversationCustomField({conversationId: 'conversationId', conversationType: 'singleChat', customField: {key:'value'} })
Generated using TypeDoc
LocalCache contains APIs for local operations.