UiPath Documentation
marketplace
latest
false
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Marketplace 用户指南

上次更新日期 2026年4月1日

获取聊天成员

概述

The Get Chat Members activity calls the Microsoft Graph ListConversationMembers API to retrieve the members of a specified chat (ChatId).

After retrieving the members, the activity returns an array of their properties in a ConversationMember[] object (ChatMembers) that you can use as an input variable in subsequent activities.

工作方式

以下步骤和消息序列图是活动从设计时(即活动依赖项和输入/输出属性)到运行时如何工作的示例。

  1. 完成设置步骤。
  2. Add the Microsoft Teams Scope activity to your project.
  3. Add an activity or run an external process that outputs a Chat.Id value (e.g., Get Chats).
  4. Add the Get Chat Members activity inside the Microsoft Teams Scope activity.
  5. Enter a value for the Input property.
  6. Create and enter a ConversationMember[] variable for your Output property.
  7. 运行活动。
    • Your input property values are sent to the ListConversationMembers API.

    • API 会将 ConversationMember[] 值返回到您的输出属性变量。

      docs image

属性

将此活动添加到 UiPath Studio 中的项目时,会指定以下属性的值。

docs image

常见

显示名称

活动的显示名称。

属性详细信息
类型String
必填
默认值获取聊天成员
允许的值输入 StringString 变量。
注意不适用

输入

ChatId

要从中检索成员列表的 Chat 对象的 ID。

属性详细信息
类型String
必填
默认值空白
允许的值输入 StringString 变量。
注意To get the Chat.Id value, use an external process or activity that includes the Chat.Id value in its output (for example, Get Chats or external API call)

其他

私有

如果已选择,变量和参数的值将不会在 Verbose 级进行记录。

属性详细信息
类型复选框
必填
默认值未选中
允许的值已选择或未选择
注意不适用

输出

ChatMembers

指定聊天中的成员及其属性( ConversationMember[] 对象)的列表。

属性详细信息
类型ConversationMember[]
必填否(如果您计划在后续活动中使用输出数据,则为必填项)
默认值空白
允许的值输入ConversationMember[]变量。
注意The variable you create for this property can be used as an input variable in subsequent activities. The ConversationMember object includes multiple properties that you can use in other activities. The example image below shows some of the properties that you can return.

示例

下图显示了活动依赖关系和输入/输出属性值的示例。

For step-by-step instructions and examples, see the Quickstart guides.

docs image

  • 概述
  • 工作方式
  • 属性
  • 常见
  • 输入
  • 其他
  • 输出
  • 示例

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新