# ChatGptOptionsBuilder.MessageExpiration property

Gets or sets the expiration for cached conversation messages (default: 1 hour).

```csharp
public TimeSpan MessageExpiration { get; set; }
```

## See Also

* class [ChatGptOptionsBuilder](../ChatGptOptionsBuilder.md)
* namespace [ChatGptNet](../../ChatGptNet.md)

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