- リリース ノート
- 概要
- 基本情報
- Marketplace ベンダー
- Marketplace のお客様
- パブリッシング ガイドライン
- すぐに使えるオートメーションのパブリッシング ガイドライン
- ソリューション アクセラレータの公開ガイドライン
- Integration Service コネクタの公開ガイドライン
- Process Mining アプリ テンプレートのパブリッシュ ガイドライン
- セキュリティと IP 保護
- その他の UiPath コンポーネント
- Node-RED
- セットアップ
- Teams
- Microsoft Teams Scope
- Create Team
- Create Team from Group
- Get Team
- Get Teams
- Channels
- チャンネルを作成
- Delete Channel
- Get Channel
- Get Channels
- Update Channel
- Chats
- Get Chat
- Get Chats
- Get Chat Members
- Messages
- メッセージを取得
- メッセージを取得
- Get Message Replies
- メッセージに返信
- メッセージを送信
- イベント
- イベント/予定を作成
- イベント/予定を削除
- Get Event
- Get Events
- ユーザー
- Get User Presence
- 動作のしくみ
- テクニカル リファレンス
- はじめに
- 概要
- セットアップ
- テクニカル リファレンス
- Azure Form Recognizer Scope
- Activities (アクティビティ)
- Analyze Form
- Analyze Form Async
- Get Analyze Form Result
- Analyze Receipt
- Analyze Receipt Async
- Get Analyze Receipt Result
- Analyze Layout
- Analyze Layout Async
- Get Analyze Layout Result
- Train Model
- Get Models
- モデル キーを取得する
- Get Model Info
- モデルを削除
- コネクタ
- How to Create Activities
- 連携の独自開発

Marketplace ユーザー ガイド
メッセージを送信
概要
The Send Message activity calls the Microsoft Graph CreateChatMessage or CreateChatMessage - in a channel API to send a message (Body, BodyType, Importance, Subject) to a specified chat (ChatId) or channel (ChannelId) and team (TeamID).
After sending the message, the activity outputs the id of the sent message (MessageId) as a String that you can use as an input variable in subsequent activities (for example, Get Message Replies, Get Message, and so on).
動作のしくみ
The following steps and message sequence diagram is an example of how the activity works from design time (that is, the activity dependencies and input/output properties) to run time.
- 「セットアップ」の手順を完了します。
- Add the Microsoft Teams Scope activity to your project.
- 次の 2 つのオプション (A または B) のいずれかを完了します。
A. Add an activity or run an external process that outputs a Chat.Id value (for example, Get Chats).
B. Add an activity or run an external process that outputs a Team.Id value (for example, Get Teams) AND an activity or external process that outputs a Channel.Id value (for example, Get Channels).
- Add the Send Message activity inside the Microsoft Teams Scope activity.
- Enter values for the Channel and Message properties.
- Create and enter a
Stringvariable for your Output property. - アクティビティを実行します。
-
Your input property values are sent to the CreateChatMessage or CreateChatMessage - in a channel API.
-
API は、[出力] セクションのプロパティ変数に
Stringの値を返します。
-
プロパティ
以下のプロパティの値は、このアクティビティを UiPath Studio でプロジェクトに追加するときに指定します。

共通
表示名
アクティビティの表示名です。
| 属性 | 詳細 |
|---|---|
| 入力 | String |
| Required | はい |
| 既定値 | メッセージを送信 |
| 許容値 | String または String 型変数を入力します。 |
| 備考 | N/A |
Channel
TeamId
メッセージの送信先チャネルを含む Team オブジェクトの ID です。
| 属性 | 詳細 |
|---|---|
| 入力 | String |
| Required | はい |
| 既定値 | 空 |
| 許容値 | String または String 型変数を入力します。 |
| 備考 | To get the Team.Id value, use an external process or activity that includes the Team.Id value in its output (for example, Get Teams or external API call) |
ChannelId
メッセージの送信先とする Channel オブジェクトの ID です。
| 属性 | 詳細 |
|---|---|
| 入力 | String |
| Required | はい |
| 既定値 | 空 |
| 許容値 | String または String 型変数を入力します。 |
| 備考 | To get the Channel.Id value, use an external process or activity that includes the Channel.Id value in its output (for example, Get Channels or external API call) |
チャット
ChatId
メッセージの送信先 Chat オブジェクトの ID です。
| 属性 | 詳細 |
|---|---|
| 入力 | String |
| Required | Yes (if TeamId and ChannelId are empty) |
| 既定値 | 空 |
| 許容値 | String または String 型変数を入力します。 |
| 備考 | 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) Either (ChatId) or (TeamId and ChannelId) are required. |
メッセージ
本文
送信するメッセージの内容。
| 属性 | 詳細 |
|---|---|
| 入力 | String |
| Required | はい |
| 既定値 | 空 |
| 許容値 | String または String 型変数を入力します。 |
| 備考 | Enter your value according to the BodyType value (BodyType.Text or BodyType.Html). |
本文の種類
The type of content that you want to send in your Body.
| 属性 | 詳細 |
|---|---|
| 入力 |
|
| Required | いいえ |
| 既定値 | 空 |
| 許容値 | BodyType または BodyType 型変数を入力します。 |
| 備考 | 次の 2 つの値のいずれか 1 つを入力します。
|
重要度
返信メッセージの重要度です。
| 属性 | 詳細 |
|---|---|
| 入力 |
|
| Required | いいえ |
| 既定値 | 空 |
| 許容値 | ChatMessageImportance または ChatMessageImportance 型変数を入力します。 |
| 備考 | 次の 3 つの値のいずれか 1 つを入力します。
|
件名
応答メッセージの件名です。
| 属性 | 詳細 |
|---|---|
| 入力 | String |
| Required | いいえ |
| 既定値 | 空 |
| 許容値 | String または String 型変数を入力します。 |
| 備考 | N/A |
その他
プライベート (Private)
選択すると、変数と引数の値が Verbose レベルでログ記録されなくなります。
| 属性 | 詳細 |
|---|---|
| 入力 | チェックボックス |
| Required | いいえ |
| 既定値 | 非選択 |
| 許容値 | 選択または非選択 |
| 備考 | N/A |
出力
メッセージ ID
送信されるメッセージの ID です。
| 属性 | 詳細 |
|---|---|
| 入力 | String |
| Required | いいえ (後続のアクティビティで出力データを使用する予定がある場合は必須) |
| 既定値 | 空 |
| 許容値 | String 型変数を入力します。 |
| 備考 | The variable you create for this property can be used as an input variable in subsequent activities (for example, Get Message Replies, Get Message, and so on). |
例
次の画像は、アクティビティの依存関係と入力/出力プロパティの値の例です。
ステップバイステップの手順と例については、ガイドをご覧ください。
