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.

Contents