# MessageTextComponent

> **Info:** This is release candidate documentation for **Stream Chat Angular SDK v8**. For the latest stable version, see the [latest version (v7)](https://getstream.io/chat/docs/sdk/angular/).

The `MessageTextComponent` displays the text content of a message.

## Basic usage

```html
<stream-message-text
  [message]="message"
  [shouldTranslate]="shouldTranslate"
  [isQuoted]="isQuoted"
></stream-message-text>
```

## Customization

You can provide your own message text component using the [`CustomTemplatesService`](https://getstream.io/chat/docs/sdk/angular/v8/services/CustomTemplatesService/).

[//]: # "Start of generated content"

## Inputs and outputs

### message

**message**: `undefined` \| `StreamMessage` \| `MessageResponse` & {}

The message which text should be displayed

#### Defined in

[lib/message-text/message-text.component.ts:26](https://github.com/GetStream/stream-chat-angular/blob/8ed7ea67ea3deb96c2ae7fcccfd82bd32ad7f184/projects/stream-chat-angular/src/lib/message-text/message-text.component.ts#L26)

---

### isQuoted

**isQuoted**: `boolean` = `false`

`true` if the component displayes a message quote

#### Defined in

[lib/message-text/message-text.component.ts:30](https://github.com/GetStream/stream-chat-angular/blob/8ed7ea67ea3deb96c2ae7fcccfd82bd32ad7f184/projects/stream-chat-angular/src/lib/message-text/message-text.component.ts#L30)

---

### shouldTranslate

**shouldTranslate**: `boolean` = `false`

`true` if the

#### Defined in

[lib/message-text/message-text.component.ts:34](https://github.com/GetStream/stream-chat-angular/blob/8ed7ea67ea3deb96c2ae7fcccfd82bd32ad7f184/projects/stream-chat-angular/src/lib/message-text/message-text.component.ts#L34)

[//]: # "End of generated content"

---

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/angular/v8/components/MessageTextComponent/](https://getstream.io/chat/docs/sdk/angular/v8/components/MessageTextComponent/).