UiPath Documentation
marketplace
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

Marketplace ユーザー ガイド

最終更新日時 2026年4月1日

メッセージを送信

概要

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.

  1. セットアップ」の手順を完了します。
  2. Add the Microsoft Teams Scope activity to your project.
  3. 次の 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).

  1. Add the Send Message activity inside the Microsoft Teams Scope activity.
  2. Enter values for the Channel and Message properties.
  3. Create and enter a String variable for your Output property.
  4. アクティビティを実行します。

プロパティ

以下のプロパティの値は、このアクティビティを UiPath Studio でプロジェクトに追加するときに指定します。

docs image

共通

表示名

アクティビティの表示名です。

属性詳細
入力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
RequiredYes (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.

属性

詳細

入力

BodyType

Required

いいえ

既定値

許容値

BodyType または BodyType 型変数を入力します。

備考

次の 2 つの値のいずれか 1 つを入力します。

  • BodyType.Text
  • BodyType.Html
重要度

返信メッセージの重要度です。

属性

詳細

入力

ChatMessageImportance

Required

いいえ

既定値

許容値

ChatMessageImportance または ChatMessageImportance 型変数を入力します。

備考

次の 3 つの値のいずれか 1 つを入力します。

  • ChatMessageImportance.Normal
  • ChatMessageImportance.High
  • ChatMessageImportance.Urgent
件名

応答メッセージの件名です。

属性詳細
入力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).

次の画像は、アクティビティの依存関係と入力/出力プロパティの値の例です。

ステップバイステップの手順と例については、ガイドをご覧ください。

docs image

  • 概要
  • 動作のしくみ
  • プロパティ
  • 共通
  • Channel
  • チャット
  • メッセージ
  • その他
  • 出力

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得