Language

TeamsStreamingWriter.SendInformativeUpdateAsync Method

Definition

Overloads

Name Description
SendInformativeUpdateAsync(String, CancellationToken)

Sends an informative placeholder (streamType = "informative"). Optional — if omitted the first AppendResponseAsync(String, CancellationToken) call begins the stream.

SendInformativeUpdateAsync(String, TextFormat, CancellationToken)

Sends an informative placeholder (streamType = "informative") rendered with the given textFormat (ex. extended markdown).

SendInformativeUpdateAsync(String, CancellationToken)

Sends an informative placeholder (streamType = "informative"). Optional — if omitted the first AppendResponseAsync(String, CancellationToken) call begins the stream.

public System.Threading.Tasks.Task SendInformativeUpdateAsync(string text, System.Threading.CancellationToken cancellationToken = default);
member this.SendInformativeUpdateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SendInformativeUpdateAsync (text As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

text
String
cancellationToken
CancellationToken

Returns

Applies to

SendInformativeUpdateAsync(String, TextFormat, CancellationToken)

Sends an informative placeholder (streamType = "informative") rendered with the given textFormat (ex. extended markdown).

public System.Threading.Tasks.Task SendInformativeUpdateAsync(string text, Microsoft.Teams.Apps.TextFormat textFormat, System.Threading.CancellationToken cancellationToken = default);
member this.SendInformativeUpdateAsync : string * Microsoft.Teams.Apps.TextFormat * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SendInformativeUpdateAsync (text As String, textFormat As TextFormat, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

text
String
textFormat
TextFormat
cancellationToken
CancellationToken

Returns

Remarks

The format applies to this informative chunk only; it does not change the format of subsequent streamed chunks or the final message.

Applies to