Resets the number of unread messages in a conversation to 0.
connection.localCache.clearConversationUnreadCount({conversationId: 'conversationId', conversationType: 'singleChat' })
Gets a local conversation.
connection.localCache.getLocalConversation({conversationId: 'conversationId', conversationType: 'singleChat' })
Gets the local conversation list.
connection.localCache.getLocalConversations()
Removes a local conversation.
connection.localCache.removeLocalConversation({conversationId: 'conversationId', conversationType: 'singleChat' })
Sets the local conversation custom field.
connection.localCache.setLocalConversationCustomField({conversationId: 'conversationId', conversationType: 'singleChat', customField: {key:'value'} })
Generated using TypeDoc
LocalCache contains APIs for local operations.