# ChatGptMessage.Content property

Gets or sets the content of the message.

```csharp
public string? Content { get; set; }
```

## Remarks

This property is required for all messages except assistant messages with function calls.

## See Also

* class [ChatGptRoles](../ChatGptRoles.md)
* class [ChatGptMessage](../ChatGptMessage.md)
* namespace [ChatGptNet.Models](../../ChatGptNet.md)

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