<stream-message-text
[message]="message"
[shouldTranslate]="shouldTranslate"
[isQuoted]="isQuoted"
></stream-message-text>
MessageTextComponent
The MessageTextComponent
displays the text content of a message.
Basic usage
Customization
You can provide your own message text component using the CustomTemplatesService
.
Inputs and outputs
message
message: undefined
| StreamMessage
<DefaultStreamChatGenerics
> | MessageResponseBase
<DefaultStreamChatGenerics
>
The message which text should be displayed
Defined in
projects/stream-chat-angular/src/lib/message-text/message-text.component.ts:30
isQuoted
isQuoted: boolean
= false
true
if the component displayes a message quote
Defined in
projects/stream-chat-angular/src/lib/message-text/message-text.component.ts:37
shouldTranslate
shouldTranslate: boolean
= false
true
if the
Defined in
projects/stream-chat-angular/src/lib/message-text/message-text.component.ts:41