Forum Discussion
Abdul Azeez
Aug 15, 2019Copper Contributor
Need help on getting a message posted in Teams Channel
Hi,
Currently i am working with Graph API explorer to understand the possible ways to integrated with Service-now.
Challenge for me i have a Channel created at Teams side name 'Snow Integration' and i am the member of the channel. So whenever any users post a message in that Channel i need to get the response with that message and notify in Service Now Application.
Can anyone please help me the API of getting a message posted at Teams with which i can demonstrate with achieve my requirement.
Abdul Azeez hello again,
Follow the guide as per microsoft recommedation.
https://docs.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-beta&tabs=http
- Vinay_ShankarCopper ContributorHi, I am not able to paste image in Teams, nor can transfer files. Can you please help me?
- Vadivelu_BalusamyIron Contributor
Abdul Azeez hello again,
Follow the guide as per microsoft recommedation.
https://docs.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-beta&tabs=http
Maybe I'm missing the point here, but you should be able to get it via the /teams/{id}/channels/{id}/messages/{id} endpoint:
https://docs.microsoft.com/en-us/graph/api/channel-get-message?view=graph-rest-beta&tabs=http
- Abdul AzeezCopper Contributor
Vasil,
Sorry for the late reply i was busy in other stuff. Can you please help me how to get the message id ?