SOLVED
Home

Need help on getting a message posted in Teams Channel

%3CLINGO-SUB%20id%3D%22lingo-sub-806794%22%20slang%3D%22en-US%22%3ENeed%20help%20on%20getting%20a%20message%20posted%20in%20Teams%20Channel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-806794%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3ECurrently%20i%20am%20working%20with%20Graph%20API%20explorer%20to%20understand%20the%20possible%20ways%20to%20integrated%20with%20Service-now.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EChallenge%20for%20me%20i%20have%20a%20Channel%20created%20at%20Teams%20side%20name%20'Snow%20Integration'%20and%26nbsp%3B%20i%20am%20the%20member%20of%20the%20channel.%20So%20whenever%20any%20users%20post%20a%20message%20in%20that%20Channel%20i%20need%20to%20get%20the%20response%20with%20that%20message%20and%20notify%20in%20Service%20Now%20Application.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20please%20help%20me%20the%20API%20of%20getting%20a%20message%20posted%20at%20Teams%20with%20which%20i%20can%20demonstrate%20with%20achieve%20my%20requirement.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-806794%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntegration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eintegration%20architecture%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%20App%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-807110%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20help%20on%20getting%20a%20message%20posted%20in%20Teams%20Channel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-807110%22%20slang%3D%22en-US%22%3E%3CP%3EMaybe%20I'm%20missing%20the%20point%20here%2C%20but%20you%20should%20be%20able%20to%20get%20it%20via%20the%20%3CSPAN%20style%3D%22color%3A%20%2301cfff%3B%20font-family%3A%20SFMono-Regular%2C%20Consolas%2C%20'Liberation%20Mono'%2C%20Menlo%2C%20Courier%2C%20monospace%3B%20font-size%3A%2014px%3B%20font-style%3A%20normal%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20font-weight%3A%20400%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20pre%3B%20widows%3A%202%3B%20word-spacing%3A%200px%3B%20-webkit-text-stroke-width%3A%200px%3B%20background-color%3A%20%232e2e2e%3B%20text-decoration-style%3A%20initial%3B%20text-decoration-color%3A%20initial%3B%20display%3A%20inline%20!important%3B%20float%3A%20none%3B%22%3E%2Fteams%2F%7Bid%7D%2Fchannels%2F%7Bid%7D%2Fmessages%2F%7Bid%7D%3C%2FSPAN%3Eendpoint%3A%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-get-message%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-get-message%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-811467%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20help%20on%20getting%20a%20message%20posted%20in%20Teams%20Channel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-811467%22%20slang%3D%22en-US%22%3E%3CP%3EVasil%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20for%20the%20late%20reply%20i%20was%20busy%20in%20other%20stuff.%20Can%20you%20please%20help%20me%20how%20to%20get%20the%20message%20id%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-811815%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20help%20on%20getting%20a%20message%20posted%20in%20Teams%20Channel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-811815%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F176008%22%20target%3D%22_blank%22%3E%40Abdul%20Azeez%3C%2FA%3E%26nbsp%3B%20hello%20again%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFollow%20the%20guide%20as%20per%20microsoft%20recommedation.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-post-messages%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-post-messages%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F127555i755FADECFDE82854%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-811819%22%20slang%3D%22en-US%22%3ERE%3A%20Need%20help%20on%20getting%20a%20message%20posted%20in%20Teams%20Channel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-811819%22%20slang%3D%22en-US%22%3EHi%2C%20I%20am%20not%20able%20to%20paste%20image%20in%20Teams%2C%20nor%20can%20transfer%20files.%20Can%20you%20please%20help%20me%3F%3C%2FLINGO-BODY%3E
Abdul Azeez
Occasional Contributor

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. 

 

 

4 Replies

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

Vasil,

 

Sorry for the late reply i was busy in other stuff. Can you please help me how to get the message id ?

 

Hi, I am not able to paste image in Teams, nor can transfer files. Can you please help me?
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
38 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies