SlackClientWrapper.PostMessageAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Poste un message sur Slack.
public virtual System.Threading.Tasks.Task<Microsoft.Bot.Builder.Adapters.Slack.Model.SlackResponse> PostMessageAsync(Microsoft.Bot.Builder.Adapters.Slack.Model.NewSlackMessage message, System.Threading.CancellationToken cancellationToken);
abstract member PostMessageAsync : Microsoft.Bot.Builder.Adapters.Slack.Model.NewSlackMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Adapters.Slack.Model.SlackResponse>
override this.PostMessageAsync : Microsoft.Bot.Builder.Adapters.Slack.Model.NewSlackMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Adapters.Slack.Model.SlackResponse>
Public Overridable Function PostMessageAsync (message As NewSlackMessage, cancellationToken As CancellationToken) As Task(Of SlackResponse)
Paramètres
- message
- NewSlackMessage
Le message à poster.
- cancellationToken
- CancellationToken
Un jeton d’annulation pour la tâche.
Retours
Puis SlackResponse à l’opération de publication.