Skip to content

vhuseinova-msft/ACS-UI-Library-with-Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bot-UI-Sample

Chat Function

Go into directory

cd Chat Function

Insert connection String and endpoint

index.ts

const connectionString = ''
const endpoint = ""

Run with F5

Chat App

Go into directory

cd Chat App/chatapp

Install dependencies

npm i

Insert auth data

App.tsx

  const endpoint = ""; //Replace with your endpoint
  
  // Response returned by Chat Function
    const tmpConf: any = {
      user: {
        communicationUserId: "", // Replace with a user id for the user in a chat thread with adaptive cards bot
      },
      userToken: {
        token: "", // Replace with ACS token
        expiresOn: "", // Can be skipped, the field is returned in Chat Function response
      },
      threadId: "", // Replace with a thread id with the user and the bot
    };

Run

npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.1%
  • HTML 12.9%
  • CSS 7.0%