# IChatGptClient.ConversationExistsAsync method

Checks if a chat conversation exists.

```csharp
public Task<bool> ConversationExistsAsync(Guid conversationId, 
    CancellationToken cancellationToken = default)
```

| parameter | description |
| --- | --- |
| conversationId | The unique identifier of the conversation. |
| cancellationToken | The token to monitor for cancellation requests. |

## Return Value

`true` if the conversation exists; otherwise, `false`.

## See Also

* interface [IChatGptClient](../IChatGptClient.md)
* namespace [ChatGptNet](../../ChatGptNet.md)

<!-- DO NOT EDIT: generated by xmldocmd for ChatGptNet.dll -->
