简体   繁体   English

如何使用 PowerAutomate 向自己发送消息?

[英]How do I send a message to myself with PowerAutomate?

I am developing a PowerAutomate flow,我正在开发 PowerAutomate 流程,

I want to use the function "post message in chat or channel", I can send messages to anyone in "one to one" private chats but not on the private chat i have with myself.我想使用 function“在聊天或频道中发布消息”,我可以在“一对一”私人聊天中向任何人发送消息,但不能在我与自己的私人聊天中发送消息。

Has somebody found a way to message himself via power automate?有人找到了一种通过电源自动化向自己发送消息的方法吗?

I can't create it as a "new chat" in PA because it says users cannot be duplicate.我无法在 PA 中将其创建为“新聊天”,因为它说用户不能重复。

Then i figured out i had to find the ID of the chat with myself.然后我发现我必须找到与自己聊天的 ID。 I tried using the microsoft graph api to retrieve the id from "me/chats" but the chat with myself is not shown.我尝试使用 Microsoft 图表 api 从“我/聊天”中检索 ID,但未显示与我自己的聊天。 I tried many different filters and expansions with no success.我尝试了许多不同的过滤器和扩展,但都没有成功。

I also tried analyzing the id itself and discovered that, in the case of "one to one" chats, it's made of {the sender id} and {the receiver id}我还尝试分析 id 本身并发现,在“一对一”聊天的情况下,它由 {the sender id} 和 {the receiver id} 组成

I then tried constructing an id that contains 19:{myuserid}_{myuserid}@{domain} but it responds that there is no record.然后我尝试构建一个包含 19:{myuserid}_{myuserid}@{domain} 的 id,但它响应说没有记录。

I tried many combinations, thanks for the help.我尝试了很多组合,感谢您的帮助。

Currently it is not possible to send messages/cards to self chat as the self-chat id is not exposed.You can raise suggest this feature at Microsoft Teams Feedback portal .目前无法向自聊天发送消息/卡片,因为自聊天 ID 未公开。您可以在Microsoft Teams 反馈门户提出此功能的建议。

Please not that if you post card using below settings it will send a card to you but as a separate chat with Power Automate.请注意,如果您使用以下设置邮寄卡片,它会向您发送一张卡片,但作为与 Power Automate 的单独聊天。 在此处输入图像描述

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM