Partilhar via


SlackClientWrapper Classe

Definição

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

SlackClientWrapper(SlackClientWrapperOptions)
Obsoleto.

Inicializa uma nova instância da SlackClientWrapper classe . Cria um cliente Slack ao fornecer o token de acesso.

Propriedades

Identity
Obsoleto.

Obtém a identidade do utilizador.

Options
Obsoleto.

Obtém o SlackClientWrapperOptions.

Métodos

DeleteMessageAsync(String, DateTime, CancellationToken)
Obsoleto.

Encapsula o método DeleteMessageAsync da API slack.

GetBotUserIdentity(Activity)
Obsoleto.

Obtenha o ID de utilizador do bot associado à equipa na qual teve origem uma atividade de entrada. Isto é utilizado internamente pelo SlackMessageTypeMiddleware para identificar direct_mention e mencionar eventos. No modo de equipa única, esta ação irá extrair as informações da API do Slack no início. No modo de várias equipas, utilizará o getBotUserByTeam método transmitido ao construtor para extrair as informações de uma origem definida pelo programador.

LoginWithSlackAsync(CancellationToken)
Obsoleto.

Gere o início de sessão no Slack com as credenciais especificadas.

PostMessageAsync(NewSlackMessage, CancellationToken)
Obsoleto.

Publica uma mensagem no Slack.

TestAuthAsync(CancellationToken)
Obsoleto.

Encapsula o método TestAuthAsync da API slack.

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

Encapsula o método UpdateAsync da API slack.

VerifySignature(HttpRequest, String)
Obsoleto.

Valida o segredo local em relação ao obtido a partir do cabeçalho do pedido.

Aplica-se a