Developer Preview: Starting on June 16, 2025, the following default Apps Script function names for Google Chat app triggers will change:
onAddToSpace
to onAddedToSpace
.onRemoveFromSpace
to onRemovedFromSpace
.If your Chat app responds to being added or removed from Chat spaces, you can address this breaking change and avoid any potential errors by doing one of the following:
onAddedToSpace
and onRemovedFromSpace
. If required, create another versioned deployment of your Apps Script project and save the new deployment ID in the Chat API Configuration page in the Google Cloud console.To learn how to update your Chat app configuration in the Google Cloud console, see Configure a Google Chat app.