web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to reply on a mess...
Power Automate
Answered

How to reply on a message in a group chat

(0) ShareShare
ReportReport
Posted on by 16

I am trying to send a message as a reply and would like to quote the original message. I use native action "Post a message in a chat or channel'.

I see there is a property: Hosted content but I cannot find and documentation how to use it.

 

Could you please advise how to send "reply to.." message on a group chat?

 

SlavaS2_0-1703524995917.pngSlavaS2_1-1703525057647.png

 

Categories:
I have the same question (1)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @SlavaS2 ,

     

    I'm afraid that the out of box connector cannot meet your needs.

    I think you need to call the graph api in flow.

    vxiaochenmsft_0-1703557869385.png

    vxiaochenmsft_1-1703557905780.png

    https://graph.microsoft.com/v1.0/chats/<chat id>/messages
    
    
    {
     "body": {
     "contentType": "html",
     "content": "<p></p>\n<attachment id=\"<message id>\"></attachment>\n<messaage body>\n<p></p>"
     },
     "attachments": [
     {
     "id": "<message id>",
     "contentType": "messageReference",
     "contentUrl": null,
     "content": "{\"messageId\":\"<message id>\",\"messagePreview\":\"<message body>\",\"messageSender\":{\"application\":null,\"device\":null,\"user\":{\"userIdentityType\":\"aadUser\",\"tenantId\":null,\"id\":\"<user id>\",\"displayName\":\"<user name>\"}}}",
     "name": null,
     "thumbnailUrl": null,
     "teamsAppId": null
     }
     ],
     "mentions": [],
     "reactions": []
    }

     

    Best Regards,

    Wearsky

  • SlavaS2 Profile Picture
    16 on at

    HI @v-xiaochen-msft , thank you. Yes, I believe this is the only option for now. It works for me.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard