Language

IActivity.MakeTargetedActivity(ChannelAccount) Method

Definition

Marks this activity as targeted by adding a targeted treatment entity to its collection.

public Microsoft.Agents.Core.Models.IActivity MakeTargetedActivity(Microsoft.Agents.Core.Models.ChannelAccount user = default);
abstract member MakeTargetedActivity : Microsoft.Agents.Core.Models.ChannelAccount -> Microsoft.Agents.Core.Models.IActivity
Public Function MakeTargetedActivity (Optional user As ChannelAccount = Nothing) As IActivity

Parameters

user
ChannelAccount

Optional user to set as the recipient. Replaces Recipient when provided.

Returns

This activity.

Applies to