SlackClientWrapper Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cuidado
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
- Herança
-
SlackClientWrapper
- Atributos
Construtores
| Nome | Description |
|---|---|
| SlackClientWrapper(SlackClientWrapperOptions) |
Obsoleto.
Inicializa uma nova instância da classe SlackClientWrapper. Cria um cliente Slack fornecendo o token de acesso. |
Propriedades
| Nome | Description |
|---|---|
| Identity |
Obsoleto.
Obtém a identidade do usuário. |
| Options |
Obsoleto.
Obtém SlackClientWrapperOptions. |
Métodos
| Nome | Description |
|---|---|
| DeleteMessageAsync(String, DateTime, CancellationToken) |
Obsoleto.
Envolve o método DeleteMessageAsync da API do Slack. |
| GetBotUserIdentity(Activity) |
Obsoleto.
Obtenha o ID de usuário do bot associado à equipe em que uma atividade recebida se originou. Isso é usado internamente pelo SlackMessageTypeMiddleware para identificar direct_mention e mencionar eventos.
No modo de equipe única, isso extrai as informações da API do Slack no lançamento.
No modo multi-equipe, isso usará o |
| LoginWithSlackAsync(CancellationToken) |
Obsoleto.
Gerencia o login no Slack com as credenciais fornecidas. |
| PostMessageAsync(NewSlackMessage, CancellationToken) |
Obsoleto.
Posta uma mensagem no Slack. |
| TestAuthAsync(CancellationToken) |
Obsoleto.
Envolve o método TestAuthAsync da API do Slack. |
| UpdateAsync(String, String, String, String, String, Boolean, Attachment[], Boolean, CancellationToken) |
Obsoleto.
Envolve o método UpdateAsync da API do Slack. |
| VerifySignature(HttpRequest, String) |
Obsoleto.
Valida o segredo local contra o obtido a partir do cabeçalho da solicitação. |