<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 | Omit<MessageResponseBase, "status" | "created_at" | "deleted_at" | "pinned_at" | "updated_at"> & {} & CustomMessageData & {} & {} & {}
The message which text should be displayed
Defined in
projects/stream-chat-angular/src/lib/message-text/message-text.component.ts:26
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:30
shouldTranslate
shouldTranslate: boolean = false
true if the
Defined in
projects/stream-chat-angular/src/lib/message-text/message-text.component.ts:34