Compartilhar via


SlackClientWrapper.DeleteMessageAsync Método

Definição

Encapsula o método DeleteMessageAsync da API do Slack.

public virtual System.Threading.Tasks.Task<SlackAPI.DeletedResponse> DeleteMessageAsync (string channelId, DateTime ts, System.Threading.CancellationToken cancellationToken);
abstract member DeleteMessageAsync : string * DateTime * System.Threading.CancellationToken -> System.Threading.Tasks.Task<SlackAPI.DeletedResponse>
override this.DeleteMessageAsync : string * DateTime * System.Threading.CancellationToken -> System.Threading.Tasks.Task<SlackAPI.DeletedResponse>
Public Overridable Function DeleteMessageAsync (channelId As String, ts As DateTime, cancellationToken As CancellationToken) As Task(Of DeletedResponse)

Parâmetros

channelId
String

O canal do qual excluir a mensagem.

ts
DateTime

O carimbo de data/hora da mensagem.

cancellationToken
CancellationToken

Um token de cancelamento para a tarefa.

Retornos

Task<SlackAPI.DeletedResponse>

Um SlackAPI.DeletedResponse que representa a resposta para excluir a mensagem.

Aplica-se a