Share via


TelemetryLoggerMiddleware.FillDeleteEventPropertiesAsync Method

Definition

Fills event properties for the BotMsgDeleteEvent event.

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

Parameters

activity
IMessageDeleteActivity

The Activity object deleted by bot.

additionalProperties
Dictionary<String,String>

Additional properties to add to the event.

Returns

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

Applies to