From the course: Developing for Microsoft Teams

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Source code

Source code

- [Instructor] Let's look at the source code of this bot and just a few files have been scaffolded out for us. So, there's a manifest file, of course, in the appPackage. Let's look at that first. And it's just a fairly normal manifest file. But if I scroll down here, I get to the bots and there's a botId on line 28. And you'll notice that unlike tabs, it doesn't have the endpoint URL that we're going to call. It's actually this botId, that's the key thing. And that's actually going to be defined by our bot registration service, which is what we set up in the Teams Toolkit bot management if you remember. I go back to this. So, here is the app ID. So, it was check is 7c14, and this is the same one. And then if we scroll down and that's where we set the endpoint address if you remember. So, that's what really ties things together. It's the bot registration service that ties the botId to the end point and also to the Teams…

Contents