SlackStream.AppendAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| AppendAsync(Chunk) |
Appends the specified chunk to the stream asynchronously. |
| AppendAsync(IList<Chunk>) |
Appends the specified chunks to the Slack message stream asynchronously. |
| AppendAsync(String) |
Appends a new chunk of Markdown-formatted text to the stream asynchronously. |
AppendAsync(Chunk)
Appends the specified chunk to the stream asynchronously.
public System.Threading.Tasks.Task<Microsoft.Agents.Extensions.Slack.Api.SlackStream> AppendAsync(Microsoft.Agents.Extensions.Slack.Api.Chunk chunk);
member this.AppendAsync : Microsoft.Agents.Extensions.Slack.Api.Chunk -> System.Threading.Tasks.Task<Microsoft.Agents.Extensions.Slack.Api.SlackStream>
Public Function AppendAsync (chunk As Chunk) As Task(Of SlackStream)
Parameters
- chunk
- Chunk
The chunk to append to the stream. Cannot be null.
Returns
A task that represents the asynchronous append operation. The task result contains the updated stream after the chunk is appended.
Applies to
AppendAsync(IList<Chunk>)
Appends the specified chunks to the Slack message stream asynchronously.
public System.Threading.Tasks.Task<Microsoft.Agents.Extensions.Slack.Api.SlackStream> AppendAsync(System.Collections.Generic.IList<Microsoft.Agents.Extensions.Slack.Api.Chunk> chunks);
member this.AppendAsync : System.Collections.Generic.IList<Microsoft.Agents.Extensions.Slack.Api.Chunk> -> System.Threading.Tasks.Task<Microsoft.Agents.Extensions.Slack.Api.SlackStream>
Public Function AppendAsync (chunks As IList(Of Chunk)) As Task(Of SlackStream)
Parameters
Returns
A task that represents the asynchronous operation. The task result contains the current Slack stream instance.
Remarks
See https://docs.slack.dev/reference/methods/chat.appendStream
Applies to
AppendAsync(String)
Appends a new chunk of Markdown-formatted text to the stream asynchronously.
public System.Threading.Tasks.Task<Microsoft.Agents.Extensions.Slack.Api.SlackStream> AppendAsync(string markdown_text);
member this.AppendAsync : string -> System.Threading.Tasks.Task<Microsoft.Agents.Extensions.Slack.Api.SlackStream>
Public Function AppendAsync (markdown_text As String) As Task(Of SlackStream)
Parameters
- markdown_text
- String
The Markdown-formatted text to append. If null, an empty string is used.
Returns
A task that represents the asynchronous append operation. The task result contains the updated Slack stream.