ChatThreadClient.UpdateMessage 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
UpdateMessage(UpdateChatMessageOptions, CancellationToken) |
Updates a message synchronously. |
UpdateMessage(String, String, CancellationToken) |
Updates a message synchronously. |
UpdateMessage(UpdateChatMessageOptions, CancellationToken)
- Source:
- ChatThreadClient.cs
- Source:
- ChatThreadClient.cs
Updates a message synchronously.
public virtual Azure.Response UpdateMessage (Azure.Communication.Chat.UpdateChatMessageOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateMessage : Azure.Communication.Chat.UpdateChatMessageOptions * System.Threading.CancellationToken -> Azure.Response
override this.UpdateMessage : Azure.Communication.Chat.UpdateChatMessageOptions * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function UpdateMessage (options As UpdateChatMessageOptions, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- options
- UpdateChatMessageOptions
Options for the message.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
The server returned an error. See Message for details returned from the server.
Applies to
UpdateMessage(String, String, CancellationToken)
- Source:
- ChatThreadClient.cs
- Source:
- ChatThreadClient.cs
Updates a message synchronously.
public virtual Azure.Response UpdateMessage (string messageId, string content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateMessage : string * string * System.Threading.CancellationToken -> Azure.Response
override this.UpdateMessage : string * string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function UpdateMessage (messageId As String, content As String, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- messageId
- String
The message id.
- content
- String
Chat message content.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
The server returned an error. See Message for details returned from the server.
Applies to
Azure SDK for .NET