Home

Using API to post reply to chat message

%3CLINGO-SUB%20id%3D%22lingo-sub-319620%22%20slang%3D%22en-US%22%3EUsing%20API%20to%20post%20reply%20to%20chat%20message%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-319620%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20anyone%20have%20a%20way%20to%20programmatically%20post%20a%20reply%20to%20a%20chat%20message%3F%20The%20Graph%20API%20(beta)%20lets%20us%20create%20a%20new%20chat%20message%2C%20but%20we%20can't%20figure%20out%20how%20to%20add%20a%20reply%20to%20the%20same%20message%20thread.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-319620%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EChat%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-498801%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20API%20to%20post%20reply%20to%20chat%20message%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-498801%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1096%22%20target%3D%22_blank%22%3E%40Dean%20Gross%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Dean%2C%3C%2FP%3E%3CP%3EI'm%20a%20beginner%20to%20this.%20How%20do%20you%20post%20a%20message%20to%20a%20channel%20via%20API%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20have%20an%20app%20running%20some%20codes%20and%20from%20that%20app%2C%20i%20wanted%20to%20post%20a%20message%20to%20a%20channel%2C%20how%20do%20i%20do%20that%3F%3C%2FP%3E%3CP%3EI'm%20able%20to%20do%20this%20via%20Graph%20explorer%20logged%20in%20as%20myself.%20But%20how%20do%20I%20do%20it%20via%20the%20app%20i'm%20creating%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-498800%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20API%20to%20post%20reply%20to%20chat%20message%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-498800%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1096%22%20target%3D%22_blank%22%3E%40Dean%20Gross%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Dean%2C%3C%2FP%3E%3CP%3EI'm%20a%20beginner%20to%20this.%20How%20do%20you%20post%20a%20message%20to%20a%20channel%20via%20API%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-319888%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20API%20to%20post%20reply%20to%20chat%20message%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-319888%22%20slang%3D%22en-US%22%3E%3CP%3Ethanks%2C%20that%20is%20what%20I%20was%20afraid%20of.%20I%20was%20hoping%20we%20were%20missing%20something.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-319741%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20API%20to%20post%20reply%20to%20chat%20message%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-319741%22%20slang%3D%22en-US%22%3E%3CP%3EIt's%20not%20available%20yet%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1096%22%20target%3D%22_blank%22%3E%40Dean%20Gross%3C%2FA%3E%2C%20only%20creating%20a%20new%20chat%20thread.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-500365%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20API%20to%20post%20reply%20to%20chat%20message%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-500365%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F329606%22%20target%3D%22_blank%22%3E%40yadrianuy%3C%2FA%3EI'm%20not%20a%20developer%2C%20so%20I%20can't%20help%20you%20there.%20The%20docs%20at%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-post-chatmessage%3Fview%3Dgraph-rest-beta%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-post-chatmessage%3Fview%3Dgraph-rest-beta%3C%2FA%3E%20may%20be%20helpful%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Dean Gross
Respected Contributor

Does anyone have a way to programmatically post a reply to a chat message? The Graph API (beta) lets us create a new chat message, but we can't figure out how to add a reply to the same message thread.

5 Replies

It's not available yet @Dean Gross, only creating a new chat thread.

 

thanks, that is what I was afraid of. I was hoping we were missing something.

@Dean Gross 

Hi Dean,

I'm a beginner to this. How do you post a message to a channel via API?

@Dean Gross 

Hi Dean,

I'm a beginner to this. How do you post a message to a channel via API?

 

If I have an app running some codes and from that app, i wanted to post a message to a channel, how do i do that?

I'm able to do this via Graph explorer logged in as myself. But how do I do it via the app i'm creating?

@yadrianuyI'm not a developer, so I can't help you there. The docs at https://docs.microsoft.com/en-us/graph/api/channel-post-chatmessage?view=graph-rest-beta may be helpful

Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
201 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies