Share via


TelemetryLoggerMiddleware.FillUpdateEventPropertiesAsync Method

Definition

Fills event properties for the BotMsgUpdateEvent event. If the LogPersonalInformation is true, filters out the message's text field.

protected System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,string>> FillUpdateEventPropertiesAsync (Microsoft.Bot.Schema.Activity activity, System.Collections.Generic.Dictionary<string,string> additionalProperties = default);
member this.FillUpdateEventPropertiesAsync : Microsoft.Bot.Schema.Activity * System.Collections.Generic.Dictionary<string, string> -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string, string>>
Protected Function FillUpdateEventPropertiesAsync (activity As Activity, Optional additionalProperties As Dictionary(Of String, String) = Nothing) As Task(Of Dictionary(Of String, String))

Parameters

activity
Activity

Last activity sent from user.

additionalProperties
Dictionary<String,String>

Additional properties to add to the event.

Returns

The properties and their values to log when the bot updates a message it sent previously.

Applies to