Emitted when the subject (short title) of an interaction is updated.
Fired after a successful Interaction.setSubject call. The payload contains the updated subject text.
interaction.subscribe(InteractionEventType.INTERACTION_SUBJECT_UPDATED, (event) => { console.log("Subject updated:", event.payload.subject);}); Copy
interaction.subscribe(InteractionEventType.INTERACTION_SUBJECT_UPDATED, (event) => { console.log("Subject updated:", event.payload.subject);});
The event type identifier.
The payload containing the updated subject.
The timestamp when the event occurred.
Emitted when the subject (short title) of an interaction is updated.
Fired after a successful Interaction.setSubject call. The payload contains the updated subject text.
Example
See