Comments (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)
- Dev question HOT 1
- SMTP adapter is broken in Docker image
- Pull Request Preview Environments for increasing maintainer productivity
- Integrate pull request preview environments
- Deploy to Heroku button HOT 2
- Heroku one click deploy failed
- Upload fails from chat widget. HOT 7
- Ability to close live chat sessions from Mattermost
- BUG : In chat window the sending button dose not have an outline.
- Is this repo still maintained?
- Introducing new one-click deployment option (Elestio)
- Disable file upload
- It's possible to change the referrer meta field manually?
- Mark as unread HOT 1
- Reply from Slack integration doesn't forward incoming message to the Slack channel HOT 2
- Slack Interactivity Request URL for buttons to work
- Customer API endpoint doesn't update metadata HOT 11
- More Detailed Instructions for Deploying to AWS
- webhook via ngrok not challenged - local setup
- Incomplete docs, missing a few keys to getting storytime to work. (listed them here)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papercups.