# Chat Time Break

The `TimeBreak` item of the `RadChat` control encapsulates a group of messages according to a certain condition, such as given time intervals or read/unread messages. It is visualized as a dividing line across the messages board with a text message attached to it.

`TimeBreak` derives from `ChatItem` and provides an additional `Text` property which holds the string message.

### Adding a Time Break

The following example shows how to create a sample `TimeBreak` item:

```C#
chat.Items.Add(new TextMessage { Author = bot, Text = "Hello there" });
chat.Items.Add(new TimeBreak() { Text = "Unread" });
chat.Items.Add(new TextMessage() { Author = bot, Text = "How are you today?" });
```

![Telerik UI for .NET MAUI Chat showing a TimeBreak separator labeled Unread between message groups](https://www.telerik.com/maui-ui/documentation/assets/aa30d1ea662ff80d62a056d5ee063db4/chat-time-break.png)

## See Also

* [Messages](https://www.telerik.com/maui-ui/documentation/controls/chat/items/chat-messages)
