constructor(private messageActionsService: MessageActionsService) {
// Open the modal
this.messageActionsService.messageToEdit$.next(<stream message>);
// Close the modal
this.messageActionsService.messageToEdit$.next(undefined);
}
This is documentation for
Stream Chat Angular SDK v4, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v6)
.
EditMessageFormComponent
The edit message form displays a modal that’s opened when a user edits a message. The component uses the MessageActionsService
to know which message is being edited.
By default this is displayed within the stream-channel
component.
Usage
<stream-edit-message-form></stream-edit-message-form>
Customization
You can provide your own custom component using the customTemplatesService.editMessageFormTemplate$
property
- I'm working with the Stream Chat Angular SDK and would like to ask questions about this documentation page: https://getstream.io/chat/docs/sdk/angular/v4/components/EditMessageFormComponent.md
- View as markdown
- Open in ChatGPT
- Open in Claude
On this page: