SlackClientWrapper Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
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
- Héritage
-
SlackClientWrapper
- Attributs
Constructeurs
| Nom | Description |
|---|---|
| SlackClientWrapper(SlackClientWrapperOptions) |
Obsolète.
Initialise une nouvelle instance de la classe SlackClientWrapper. Crée un client Slack en fournissant le jeton d’accès. |
Propriétés
| Nom | Description |
|---|---|
| Identity |
Obsolète.
Ça obtient l’identité de l’utilisateur. |
| Options |
Obsolète.
Obtient le SlackClientWrapperOptions. |
Méthodes
| Nom | Description |
|---|---|
| DeleteMessageAsync(String, DateTime, CancellationToken) |
Obsolète.
Enveloppe la méthode DeleteMessageAsync de l’API Slack. |
| GetBotUserIdentity(Activity) |
Obsolète.
Obtenez l’identifiant utilisateur du bot associé à l’équipe sur laquelle une activité entrante a été indiquée. Ceci est utilisé en interne par le SlackMessageTypeMiddleware pour identifier direct_mention et mentionner des événements.
En mode équipe unique, cela extrait les informations de l’API Slack au lancement.
En mode multi-équipes, cela utilisera la |
| LoginWithSlackAsync(CancellationToken) |
Obsolète.
Gère la connexion à Slack avec les identifiants fournis. |
| PostMessageAsync(NewSlackMessage, CancellationToken) |
Obsolète.
Poste un message sur Slack. |
| TestAuthAsync(CancellationToken) |
Obsolète.
Enveloppe la méthode TestAuthAsync de l’API Slack. |
| UpdateAsync(String, String, String, String, String, Boolean, Attachment[], Boolean, CancellationToken) |
Obsolète.
Enveloppe la méthode UpdateAsync de l’API Slack. |
| VerifySignature(HttpRequest, String) |
Obsolète.
Valide le secret local par rapport à celui obtenu à partir de l’en-tête de la requête. |