From the course: Developing for Microsoft Teams

Unlock the full course today

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

Solution: Building a messaging extension to find images

Solution: Building a messaging extension to find images - Microsoft Teams Tutorial

From the course: Developing for Microsoft Teams

Solution: Building a messaging extension to find images

(bright music) - [Instructor] With a bit of luck and skill, you should have a working solution. If not, then you can always get the solution files in the GitHub repo by taking the branch for this video. But most of the changes I made were to botActivityHandler.js, and I use that statement on line 34, which is getting the search query, didn't need to change that, and I was able to get the image search to return me, by passing it that search query, a list of files that I wanted. And then I was able to just iterate over that, so I changed this to the for each on the imagefiles. A few ways of doing this, of course. And then I've used the hosted files for the images. I changed the text to the image category using that image category function. The image URL I then passed into here, and then I also got rid of the type. So it let's it use the default type without drawing a circle around it. And I also made the size large…

Contents