microsoft-teams-sample-complete-csharp | building complex bots for Microsoft Teams | Bot library

 by   OfficeDev C# Version: 154350 License: MIT

kandi X-RAY | microsoft-teams-sample-complete-csharp Summary

kandi X-RAY | microsoft-teams-sample-complete-csharp Summary

microsoft-teams-sample-complete-csharp is a C# library typically used in Automation, Bot applications. microsoft-teams-sample-complete-csharp has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Sample that shows how to build a bot for Microsoft Teams in C#.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              microsoft-teams-sample-complete-csharp has a low active ecosystem.
              It has 95 star(s) with 57 fork(s). There are 51 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 7 open issues and 2 have been closed. On average issues are closed in 4 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of microsoft-teams-sample-complete-csharp is 154350

            kandi-Quality Quality

              microsoft-teams-sample-complete-csharp has 0 bugs and 0 code smells.

            kandi-Security Security

              microsoft-teams-sample-complete-csharp has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              microsoft-teams-sample-complete-csharp code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              microsoft-teams-sample-complete-csharp is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              microsoft-teams-sample-complete-csharp releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.
              It has 111 lines of code, 0 functions and 53 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of microsoft-teams-sample-complete-csharp
            Get all kandi verified functions for this library.

            microsoft-teams-sample-complete-csharp Key Features

            No Key Features are available at this moment for microsoft-teams-sample-complete-csharp.

            microsoft-teams-sample-complete-csharp Examples and Code Snippets

            No Code Snippets are available at this moment for microsoft-teams-sample-complete-csharp.

            Community Discussions

            Trending Discussions on microsoft-teams-sample-complete-csharp

            QUESTION

            How can my Teams bot start a new 1:1 chat with a known user
            Asked 2020-Mar-10 at 17:10

            I'm working on a Teams bot that needs the ability to start a new 1:1 conversation with a known user (i.e., we know the Teams user ID).

            I've looked at the "complete-csharp" OfficeDev samples on GitHub (https://github.com/OfficeDev/microsoft-teams-sample-complete-csharp) as well as the Teams-related parts of the Graph API but I don't see any affordance for starting a new conversation.

            Our goal is to have our bot ping a known user on a schedule by inviting them into a 1:1 chat and requesting their feedback. A button in the bot's message will reveal the feedback form (via task module).

            ...

            ANSWER

            Answered 2020-Mar-10 at 17:10
            Update

            Bot Framework has added in code specific for Teams that makes a lot of the code in this answer moot or incorrect. See this sample for sending proactive messages in Teams, now.

            Teams calls that a "Proactive Message". So long as you get the user ID that Teams uses, it's fairly easy to do.

            Per the docs, Proactive messaging for bots:

            Bots can create new conversations with an individual Microsoft Teams user as long as your bot has user information obtained through previous addition in a personal, groupChat or team scope. This information enables your bot to proactively notify them. For instance, if your bot was added to a team, it could query the team roster and send users individual messages in personal chats, or a user could @mention another user to trigger the bot to send that user a direct message.

            The easiest way to do this is through the Microsoft.Bot.Builder.Teams middleware.

            Note: The Microsoft.Bot.Builder.Teams extension is still in Prerelease for V4, which is why samples and code are kind of hard to find for it.

            Adding the Middleware

            In Startup.cs:

            Source https://stackoverflow.com/questions/57120193

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install microsoft-teams-sample-complete-csharp

            You can download it from GitHub.

            Support

            This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com. When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/OfficeDev/microsoft-teams-sample-complete-csharp.git

          • CLI

            gh repo clone OfficeDev/microsoft-teams-sample-complete-csharp

          • sshUrl

            git@github.com:OfficeDev/microsoft-teams-sample-complete-csharp.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link