Giter VIP home page Giter VIP logo

Comments (1)

fkotsian avatar fkotsian commented on May 14, 2024 1

Some research on writing to Teams from PC and to PC from Teams:

Integration type UX Implementation URL
Incoming webhook Exposes a /teams/channels/xxx endpoint that Papercups can post messages to PC posts to /teams/channel endpt, message is inserted on Teams end https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/what-are-webhooks-and-connectors#incoming-webhooks
Outgoing webhook @mention the webhook to post to Papercups Configured on a per-Team (per-Org) basis, cannot be included as part of a normal Teams app https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/what-are-webhooks-and-connectors#outgoing-webhooks
Office365 Connector Show up in the Teams app store; users add you from within Teams and Teams iframes your config page into the Teams client Office365 not required; allows access to Office365 APIs including messaging-over-Outlook as well; you can "package" webhooks into a O365Connector and upload them to a Teams workspace as an "app" https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-creating#integrating-the-configuration-experience, https://docs.microsoft.com/en-us/office/dev/store/use-partner-center-to-submit-to-appsource
Bot Message a bot? Unclear if enough to reply to a bot Conversation/Thread or iff need to @mention the bot to POST back Include the bot registration with the AppManifest sent to Teams https://docs.microsoft.com/en-us/microsoftteams/platform/bots/bot-basics?tabs=javascript#teams-activity-handlers
Graph API Send Message (to Thread?) Looks like chatMessage.reply is not yet supported for MSpersonal accts and Apps https://docs.microsoft.com/en-us/graph/api/channel-post-messagereply?view=graph-rest-1.0&tabs=http

@reichert621 Think I'm catching up now -- so:

  • seems like Incoming Webhooks won't work because there doesn't appear to be a way to give them a conversationId to reply in-thread (they only dump messages at the root level in channel)
  • seems like a Bot is the recommended way to do 2-way communication, tho it's unclear if replying to the bot-thread is enough to POST back or if you have to @mention the bot to post back - blog post, stackoverflow

I'm guessing your idea is to then try and reply to the thread using the MS Graph API above? I can give this a shot next if you like, will probably try and spin up an MVP in like Python or something just for maximum speed-to-verify

Sync up tomorrow AM?

from papercups.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.