Activity.Recipient Property

Definition

The recipient field describes which client or bot is receiving this activity. This field is only meaningful when an activity is transmitted to exactly one recipient; it is not meaningful when it is broadcast to multiple recipients (as happens when an activity is sent to a channel). The purpose of the field is to allow the recipient to identify themselves. This is helpful when a client or bot has more than one identity within the channel. The value of the recipient field is a complex object of the Channel account type.

C#
public Microsoft.Agents.Protocols.Primitives.ChannelAccount Recipient { get; set; }

Property Value

Implements

Applies to

Producto Versiones
Microsoft 365 Agents SDK .NET 1