SlackClientWrapper クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.
[System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")]
public class SlackClientWrapper
[<System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")>]
type SlackClientWrapper = class
Public Class SlackClientWrapper
- 継承
-
SlackClientWrapper
- 属性
コンストラクター
| SlackClientWrapper(SlackClientWrapperOptions) |
古い.
SlackClientWrapper クラスの新しいインスタンスを初期化します。 アクセス トークンを指定して Slack クライアントを作成します。 |
プロパティ
| Identity |
古い.
ユーザー ID を取得します。 |
| Options |
古い.
SlackClientWrapperOptions を取得します。 |
メソッド
| DeleteMessageAsync(String, DateTime, CancellationToken) |
古い.
Slack API の DeleteMessageAsync メソッドをラップします。 |
| GetBotUserIdentity(Activity) |
古い.
受信アクティビティが発生したチームに関連付けられているボット ユーザー ID を取得します。 これは、SlackMessageTypeMiddleware によって内部的に使用され、direct_mentionイベントとメンション イベントを識別します。
シングルチーム モードでは、起動時に Slack API から情報がプルされます。
マルチチーム モードでは、コンストラクターに渡される メソッドを |
| LoginWithSlackAsync(CancellationToken) |
古い.
指定された資格情報を使用して Slack へのログインを管理します。 |
| PostMessageAsync(NewSlackMessage, CancellationToken) |
古い.
Slack にメッセージを投稿します。 |
| TestAuthAsync(CancellationToken) |
古い.
Slack API の TestAuthAsync メソッドをラップします。 |
| UpdateAsync(String, String, String, String, String, Boolean, Attachment[], Boolean, CancellationToken) |
古い.
Slack API の UpdateAsync メソッドをラップします。 |
| VerifySignature(HttpRequest, String) |
古い.
要求ヘッダーから取得したシークレットに対してローカル シークレットを検証します。 |