Language

InstallUpdateExtensions.OnInstallUpdate Method

Definition

Registers a handler for installation update activities.

public static Microsoft.Teams.Apps.TeamsBotApplication OnInstallUpdate(this Microsoft.Teams.Apps.TeamsBotApplication app, Microsoft.Teams.Apps.InstallUpdateHandler handler);
static member OnInstallUpdate : Microsoft.Teams.Apps.TeamsBotApplication * Microsoft.Teams.Apps.InstallUpdateHandler -> Microsoft.Teams.Apps.TeamsBotApplication
<Extension()>
Public Function OnInstallUpdate (app As TeamsBotApplication, handler As InstallUpdateHandler) As TeamsBotApplication

Parameters

app
TeamsBotApplication

The Teams bot application.

handler
InstallUpdateHandler

The handler to register.

Returns

The updated Teams bot application.

Remarks

Breaking change: previously only the first matching handler was invoked. All matching handlers are now invoked sequentially.

Applies to