Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Async Hangouts Apps Script - user has to auth, leave space, and then return to trigger onAddToSpace(e) #9

Open
derrickrc opened this issue Apr 24, 2019 · 1 comment

Comments

@derrickrc
Copy link

I followed the instructions here: https://developers.google.com/hangouts/chat/how-tos/bots-apps-script#async_messages

When someone else in my organization adds the bot, the bot lets them know it requires configuration and takes them to the Apps Scripts authorization screen. Afterwards though, the bot does not function as the spaceId is not captured within script properties.

Only after removing the bot from the space and then re-adding it does it successfully add the spaceId to the App Script project script properties and begin to function.

Am I doing something wrong here or is this expected behavior?

@derrickrc
Copy link
Author

I should also note that the user is required to message the bot initially for the "requires configuration" dialog box to appear

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant