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
| 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 |
| 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. |