RocketChat / Rocket.Chat.Apps-engine

The Rocket.Chat Apps engine and definitions.

Home Page:https://rocketchat.github.io/Rocket.Chat.Apps-engine/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Get info about who is installing / uninstalling an app

murtaza98 opened this issue · comments

The feature request is to add a feature via which the apps-engine should pass the IUser object of the user who has installed the app or has Uninstalled an app. Apps-Engine could pass this info within the current onEnable() and onDisable() method itself or maybe there could be new methods for installation / uninstallation and this info could be shared there.

For our omnichannel apps, there are certain use-cases where we need this info - so for example - within the new Twitter app - we could send a message to the user who has installed the app with the relevant OAuth link via which they can authorise our Twitter app to access info from their twitter account.