/// <summary> Sends a read receipt event to a thread, on behalf of a user. </summary>
 /// <param name="messageId"> Id of the latest chat message read by the user. </param>
 /// <param name="cancellationToken"> The cancellation token to use. </param>
 /// <exception cref="RequestFailedException">The server returned an error. See <see cref="Exception.Message"/> for details returned from the server.</exception>
 public virtual Response SendReadReceipt(string messageId, CancellationToken cancellationToken = default)
 {
     using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(SendReadReceipt)}");
     scope.Start();
     try
     {
         return(_chatThreadRestClient.SendChatReadReceipt(Id, messageId, cancellationToken));
     }
     catch (Exception ex)
     {
         scope.Failed(ex);
         throw;
     }
 }