From the course: Microsoft Teams Bot Development
Testing user profile Teams Bot
From the course: Microsoft Teams Bot Development
Testing user profile Teams Bot
- [Instructor] When my bar code change is done now let's go ahead and test it. So, let's go ahead and run node or npm start one more time or node index js, both are fine. Now, my chat to the bar is already in place and grok is running so I'll simply say, "about me." So, you see over here that it's able to spew out information about me, the user that is in this conversation and it's in array so there could be more than one user, but since this is a one-on-one chat and we're fetching the users in the particular conversation ID. Yeah, they see just one user there. And certainly I can add more users into this conversation and then I should start seeing multiple users appear in here, as well. And you see here that the session log that comes up on the left hand side has got a lot of valuable information. You can pick a lot of information from the session object and primarily speaking, at least currently this is your main mechanism for finding out the context information like what team you're in, what user you're talking to, what conversation ID you're in. Again, I expect this API to increase over time, but currently, say if you want to find out what team ID you're in, you will pick that up off the session object.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Updating your bot registration3m 27s
-
Updating bot registration in Azure1m 14s
-
One-on-one Teams bot4m 55s
-
Testing one-on-one Teams bot3m 22s
-
User profile Teams Bot3m 34s
-
Testing user profile Teams Bot1m 31s
-
Get channels Bot5m 2s
-
Building the bot package3m 6s
-
Side loading and testing your bot5m 7s
-
-