We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4cf04d commit 6163ecaCopy full SHA for 6163eca
1 file changed
solutions/ooo-assistant/Chat.gs
@@ -20,7 +20,7 @@ const APP_COMMAND = "app command";
20
* Responds to an ADDED_TO_SPACE event in Google Chat.
21
* @param {Object} event the event object from Google Workspace Add On
22
*/
23
-function onAddToSpace(event) {
+function onAddedToSpace(event) {
24
return sendCreateMessageAction(createCardMessage(help(APP_COMMAND)));
25
}
26
@@ -51,7 +51,7 @@ function onAppCommand(event) {
51
* Responds to a REMOVED_FROM_SPACE event in Google Chat.
52
53
54
-function onRemoveFromSpace(event) {
+function onRemovedFromSpace(event) {
55
const space = event.chat.removedFromSpacePayload.space;
56
console.info(`Chat app removed from ${(space.name || "this chat")}`);
57
0 commit comments