# Message Status

The RadChat [messages](https://www.telerik.com/products/wpf/documentation/controls/radchat/messages/overview) allows you to display a custom status message text under the message (eg. "Sent", "Delivered", "Seen", etc.).

The status message visual is enabled by setting the `StatusVisibility` property of the view model of the message object.

The status text is set via the `Status` property of the message's view model.

**Creating a new message and setting the message status**

```C#
var message = new TextMessage(this.radChat.CurrentAuthor, "Hi there ☺");
message.InlineViewModel.StatusVisibility = Visibility.Visible;
message.InlineViewModel.Status = "Sent";
this.radChat.AddMessage(message);
```

![Telerik UI for WPF RadChat message status displayed beneath a chat message](https://www.telerik.com/products/wpf/documentation/assets/b085d1813293fe195d9452163474473b/chat-message-status-0.png)

You can later access the message and update its status if necessary.

**Updating the message status**

```C#
var message = this.radChat.GetMessageByIndex(0) as TextMessage;
message.InlineViewModel.Status = "Delivered";
```
