Compartilhar via


SlackClientWrapper.PostMessageAsync Método

Definição

Posta uma mensagem no 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)

Parâmetros

message
NewSlackMessage

A mensagem a ser postada.

cancellationToken
CancellationToken

Um token de cancelamento para a tarefa.

Retornos

O SlackResponse na operação de postagem.

Aplica-se a