IActivity.MakeTargetedActivity(ChannelAccount) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.