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) |
古い.
リクエストヘッダーから得られたローカル秘密と照合して検証します。 |