SlackClientWrapper Classe
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Atenção
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
| Name | Descrição |
|---|---|
| SlackClientWrapper(SlackClientWrapperOptions) |
Obsoleto.
Inicializa uma nova instância da SlackClientWrapper classe. Cria um cliente Slack fornecendo o token de acesso. |
Propriedades
| Name | Descrição |
|---|---|
| Identity |
Obsoleto.
Obtém a identidade do utilizador. |
| Options |
Obsoleto.
Obtém o SlackClientWrapperOptions. |
Métodos
| Name | Descrição |
|---|---|
| DeleteMessageAsync(String, DateTime, CancellationToken) |
Obsoleto.
Envolve o método DeleteMessageAsync da API do Slack. |
| GetBotUserIdentity(Activity) |
Obsoleto.
Obtenha o ID de utilizador do bot associado à equipa onde uma atividade recebida se originou. Isto é usado internamente pelo SlackMessageTypeMiddleware para identificar direct_mention e mencionar eventos.
No modo de equipa única, isto irá recolher a informação da API do Slack no lançamento.
No modo multi-equipa, isto utilizará o |
| LoginWithSlackAsync(CancellationToken) |
Obsoleto.
Gerir o login no Slack com as credenciais fornecidas. |
| PostMessageAsync(NewSlackMessage, CancellationToken) |
Obsoleto.
Publica 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 do cabeçalho do pedido. |