-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a channel message, then reply to the message #40
Comments
Short answer: You can't do that with incoming webhooks I have plans on exploring Teams Graph API and potentially supporting it in 3.0 but I have so many projects right now that are a priority for me - so can't promise any timelines. |
Replying to an existing message in Teams using Microsoft Graph API is possible but not really available using non-interactive authentication flows. The application permission to use the API endpoint requires
First, the permission
Secondly, even if you were bat shit crazy enough to permit this, it's actually only operable on a Team set in
I believe this endpoint and permission only really exists for non-interactive flows for products/services which let you migrate from e.g. Slack to Teams, to preserve/migrate chat history etc. Microsoft don't really provide a way via Graph API to expose this type of functionality in Teams. However, it seems to be possible relatively painlessly using delegated permissions. |
Creating channel messages is awesome, but I find myself wishing that I would be able to reply to the initial message.
Scenario
I am running a time-consuming script that updates several sites.
I'd like to first publish a message saying that "Update so and so is has started."
Then, for each site that is processed, I'd like to reply to that message with a summary for that site.
Finally, I'd finish off with a Upgrade completed message.
How do I identify a message?
How to I reply to a message?
The text was updated successfully, but these errors were encountered: