MessagingExtensionAction クラス
- java.
lang. Object - com.
microsoft. bot. schema. teams. TaskModuleRequest - com.
microsoft. bot. schema. teams. MessagingExtensionAction
- com.
- com.
public class MessagingExtensionAction
extends TaskModuleRequest
メッセージング拡張機能のアクション。
コンストラクターの概要
| コンストラクター | 説明 | |
|---|---|---|
| MessagingExtensionAction() | ||
メソッドの概要
| 修飾子と型 | メソッドと説明 |
|---|---|
| java.util.List<Activity> |
getBotActivityPreview()
プレビュー アクティビティの一覧を取得します。 |
| java.lang.String |
getBotMessagePreviewAction()
ユーザーが実行したボット メッセージ プレビュー アクションを取得します。 |
| java.lang.String |
getCommandContext()
コマンドの開始元のコンテキストを取得します。 |
| java.lang.String |
getCommandId()
Bot によって割り当てられたコマンドの ID を取得します。 |
|
Message |
getMessagePayload()
コマンド要求の一部として送信されたメッセージコンテンツを取得します。 |
| void |
setBotActivityPreview(List<Activity> withBotActivityPreview)
プレビュー アクティビティの一覧を設定します。 |
| void |
setBotMessagePreviewAction(String withBotMessagePreviewAction)
ユーザーが実行するボット メッセージ プレビューアクションを設定します。 |
| void |
setCommandContext(String withCommandContext)
コマンドの開始元のコンテキストを設定します。 |
| void |
setCommandId(String withCommandId)
Bot によって割り当てられたコマンドの ID を設定します。 |
| void |
setMessagePayload(MessageActionsPayload withMessagePayload)
コマンド要求の一部として送信されるメッセージの内容を設定します。 |
メソッドの継承元: TaskModuleRequest
メソッドの継承元: java.lang.Object
コンストラクターの詳細
MessagingExtensionAction
public MessagingExtensionAction()
メソッドの詳細
getBotActivityPreview
public List
プレビュー アクティビティの一覧を取得します。
戻り値:
getBotMessagePreviewAction
public String getBotMessagePreviewAction()
ユーザーが実行したボット メッセージ プレビュー アクションを取得します。 使用可能な値は、'edit'、'send' です。
戻り値:
getCommandContext
public String getCommandContext()
コマンドの開始元のコンテキストを取得します。 指定できる値は、'message'、'compose'、'commandbox' です。
戻り値:
getCommandId
public String getCommandId()
Bot によって割り当てられたコマンドの ID を取得します。
戻り値:
getMessagePayload
public MessageActionsPayload getMessagePayload()
コマンド要求の一部として送信されたメッセージコンテンツを取得します。
戻り値:
setBotActivityPreview
public void setBotActivityPreview(List
プレビュー アクティビティの一覧を設定します。
パラメーター:
setBotMessagePreviewAction
public void setBotMessagePreviewAction(String withBotMessagePreviewAction)
ユーザーが実行するボット メッセージ プレビューアクションを設定します。 使用可能な値は、'edit'、'send' です。
パラメーター:
setCommandContext
public void setCommandContext(String withCommandContext)
コマンドの開始元のコンテキストを設定します。 指定できる値は、'message'、'compose'、'commandbox' です。
パラメーター:
setCommandId
public void setCommandId(String withCommandId)
Bot によって割り当てられたコマンドの ID を設定します。
パラメーター:
setMessagePayload
public void setMessagePayload(MessageActionsPayload withMessagePayload)
コマンド要求の一部として送信されるメッセージの内容を設定します。
パラメーター: