onInstallationUpdate, onInstallationUpdateAdd and onInstallationUpdateRemove event handlers

Contributor

Hi,

 

I'd like to know how the following methods are triggered:

onInstallationUpdate, onInstallationUpdateAdd, onInstallationUpdateRemove

We updated our botbuilder-core package to 4.11.0.  In our DialogBot class that extends ActivityHandler, we have added the following

 

this.onInstallationUpdateRemove(this._onInstallationUpdateRemove.bind(this))
this.onInstallationUpdateAdd(this._onInstallationUpdateAdd.bind(this))
this.onInstallationUpdate(this._onInstallationUpdate.bind(this))

 

 

All the event handlers do today is just to log that the event was triggered.  For example

 

console.log("__onInstallationUpdateRemove triggered");

 

I am assuming these events are triggered when a user installs or removes the app from his Teams instance.  However, when I tried to install or uninstall my bot from my Teams, nothing happens.  There are no "triggered" log statements.

 

Does anyone know how these events get triggered?  What is their purpose?

 

Thank You

2 Replies
Hi,

Did you ever receive an answer on this or find out what you needed?

Best, Chris