Documentation - v1.6.0-beta.24
    Preparing search index...

    Fluent builder for the Conversation class.

    // Build from scratch
    const conv = ConversationBuilder
    .create('my-client-id', 'msteams')
    .withUser('user-aad-id')
    .withConversationId('19:channel@thread.skype')
    .build()

    // Build from a live TurnContext
    const conv = ConversationBuilder.fromContext(turnContext).build()
    Index

    Methods

    • Creates a new builder for the given agent and channel.

      Parameters

      • agentClientId: string
      • channelId: string
      • OptionalserviceUrl: string
      • OptionalrequestorId: string

        Optional: the client ID of the app making the request. Becomes the appid claim, used in multi-tenant Azure Bot scenarios.

      Returns ConversationBuilder