SlackClientWrapper Classe

Definição

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 getBotUserByTeam método passado ao construtor para extrair as informações de uma fonte definida pelo desenvolvedor.

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.

Aplica-se a