SlackClientWrapper Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Precaución
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
- Herencia
-
SlackClientWrapper
- Atributos
Constructores
| Nombre | Description |
|---|---|
| SlackClientWrapper(SlackClientWrapperOptions) |
Obsoletos.
Inicializa una nueva instancia de la clase SlackClientWrapper. Crea un cliente de Slack suministrando el token de acceso. |
Propiedades
| Nombre | Description |
|---|---|
| Identity |
Obsoletos.
Obtiene la identidad del usuario. |
| Options |
Obsoletos.
Obtiene SlackClientWrapperOptions. |
Métodos
| Nombre | Description |
|---|---|
| DeleteMessageAsync(String, DateTime, CancellationToken) |
Obsoletos.
Envuelve el método DeleteMessageAsync de la API de Slack. |
| GetBotUserIdentity(Activity) |
Obsoletos.
Consigue el ID de usuario del bot asociado al equipo sobre el que se originó una actividad entrante. Esto se utiliza internamente por el SlackMessageTypeMiddleware para identificar direct_mention y mencionar eventos.
En modo de equipo único, esto extraerá la información de la API de Slack en el lanzamiento.
En modo multiequipo, esto usará el |
| LoginWithSlackAsync(CancellationToken) |
Obsoletos.
Gestiona el inicio de sesión en Slack con las credenciales proporcionadas. |
| PostMessageAsync(NewSlackMessage, CancellationToken) |
Obsoletos.
Publica un mensaje en Slack. |
| TestAuthAsync(CancellationToken) |
Obsoletos.
Envuelve el método TestAuthAsync de la API de Slack. |
| UpdateAsync(String, String, String, String, String, Boolean, Attachment[], Boolean, CancellationToken) |
Obsoletos.
Envuelve el método UpdateAsync de la API de Slack. |
| VerifySignature(HttpRequest, String) |
Obsoletos.
Valida el secreto local frente al que se obtiene de la cabecera de la solicitud. |