SlackClientWrapper.UpdateAsync(String, String, String, String, String, Boolean, Attachment[], Boolean, CancellationToken) 메서드

정의

여유 시간 API의 UpdateAsync 메서드를 래핑합니다.Wraps Slack API's UpdateAsync method.

public virtual System.Threading.Tasks.Task<Microsoft.Bot.Builder.Adapters.Slack.Model.SlackResponse> UpdateAsync (string ts, string channelId, string text, string botName = default, string parse = default, bool linkNames = false, SlackAPI.Attachment[] attachments = default, bool asUser = false, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : string * string * string * string * string * bool * SlackAPI.Attachment[] * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Adapters.Slack.Model.SlackResponse>
override this.UpdateAsync : string * string * string * string * string * bool * SlackAPI.Attachment[] * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Adapters.Slack.Model.SlackResponse>
Public Overridable Function UpdateAsync (ts As String, channelId As String, text As String, Optional botName As String = Nothing, Optional parse As String = Nothing, Optional linkNames As Boolean = false, Optional attachments As Attachment() = Nothing, Optional asUser As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SlackResponse)

매개 변수

ts
String

메시지의 타임 스탬프입니다.The timestamp of the message.

channelId
String

메시지를 삭제할 채널입니다.The channel to delete the message from.

text
String

업데이트할 텍스트입니다.The text to update with.

botName
String

선택적 봇 이름입니다.The optional bot name.

parse
String

메시지가 처리 되는 방식을 변경 합니다. 기본값은 ' n o n e '입니다.Change how messages are treated.Defaults to 'none'. https://api.slack.com/methods/chat.postMessage#formatting을 참조하세요.See https://api.slack.com/methods/chat.postMessage#formatting.

linkNames
Boolean

채널 이름 및 사용자 이름을 찾고 연결 하려면입니다.If to find and link channel names and username.

attachments
SlackAPI.Attachment[]

첨부 파일입니다 (있는 경우).The attachments, if any.

asUser
Boolean

메시지가 봇이 아닌 사용자로 전송 되는 경우If the message is being sent as user instead of as a bot.

cancellationToken
CancellationToken

태스크에 대 한 취소 토큰입니다.A cancellation token for the task.

반환

Task<SlackResponse>

SlackAPI.UpdateResponse작업에 대 한 응답을 나타내는입니다.A SlackAPI.UpdateResponse representing the response to the operation.

적용 대상