Taal

SlackClientWrapper Klas

Definitie

Let op

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
Overname
SlackClientWrapper
Kenmerken

Constructors

Name Description
SlackClientWrapper(SlackClientWrapperOptions)
Verouderd.

Initialiseert een nieuw exemplaar van de SlackClientWrapper klasse. Maakt een Slack-client aan door het toegangstoken te leveren.

Eigenschappen

Name Description
Identity
Verouderd.

Krijgt de gebruikersidentiteit.

Options
Verouderd.

Haalt de SlackClientWrapperOptions.

Methoden

Name Description
DeleteMessageAsync(String, DateTime, CancellationToken)
Verouderd.

Wikkelt de DeleteMessageAsync-methode van Slack API in.

GetBotUserIdentity(Activity)
Verouderd.

Laat het gebruikers-ID van de bot koppelen aan het team waar een binnenkomende activiteit vandaan komt. Dit wordt intern gebruikt door de SlackMessageTypeMiddleware om direct_mention te identificeren en gebeurtenissen te vermelden. In single-team modus haalt dit de informatie uit de Slack API bij de lancering. In multi-team modus gebruikt dit de getBotUserByTeam methode die aan de constructor wordt doorgegeven om de informatie uit een door de ontwikkelaar gedefinieerde bron te halen.

LoginWithSlackAsync(CancellationToken)
Verouderd.

Beheert de login op Slack met de gegeven inloggegevens.

PostMessageAsync(NewSlackMessage, CancellationToken)
Verouderd.

Plaatst een bericht op Slack.

TestAuthAsync(CancellationToken)
Verouderd.

Wraps Slack API's TestAuthAsync-methode.

UpdateAsync(String, String, String, String, String, Boolean, Attachment[], Boolean, CancellationToken)
Verouderd.

Wikkelt de UpdateAsync-methode van Slack API in.

VerifySignature(HttpRequest, String)
Verouderd.

Valideert het lokale geheim tegen dat van de requestheader.

Van toepassing op