Options
All
  • Public
  • Public/Protected
  • All
Menu

LocalCache contains APIs for local operations.

Index

Functions

  • Resets the number of unread messages in a conversation to 0.

    connection.localCache.clearConversationUnreadCount({conversationId: 'conversationId', conversationType: 'singleChat' })
    

    Parameters

    Returns Promise<void>

  • Removes a local conversation.

    connection.localCache.removeLocalConversation({conversationId: 'conversationId', conversationType: 'singleChat' })
    

    Parameters

    Returns Promise<void>

  • Sets the local conversation custom field.

    connection.localCache.setLocalConversationCustomField({conversationId: 'conversationId', conversationType: 'singleChat', customField: {key:'value'} })
    

    Parameters

    Returns Promise<void>

Generated using TypeDoc