Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConversationsRequestBuilder

Hierarchy

  • ConversationsRequestBuilder

Index

Constructors

constructor

Methods

build

setConversationType

  • Parameters

    • conversationType: string

      A method to set the conversation type. It can take once of the two values: 1. 'user' - to fetch only the user conversations. 2. 'group' - to fetch only the group conversations.

    Returns ConversationsRequestBuilder

setLimit

  • Parameters

    • limit: number

      A method to set limit for the number of Conversations returned in a single iteration. A maximum of 50 conversations can fetched in a single iteration.

    Returns ConversationsRequestBuilder

setTags

withTags

withUserAndGroupTags

  • Parameters

    • getUserAndGroupTags: boolean

      A method to fetch the user/group tags in the ConversationWith Object. The default value is false.

    Returns ConversationsRequestBuilder