Enter to send·Shift+Enter new line
Callback that is called when an update event is received.
onUpdateEvent: (data: __type, options: __type) => void