Activity.Recipient Property
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.
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.
public Microsoft.Agents.Protocols.Primitives.ChannelAccount Recipient { get; set; }
member this.Recipient : Microsoft.Agents.Protocols.Primitives.ChannelAccount with get, set
Public Property Recipient As ChannelAccount
Producto | Versiones |
---|---|
Microsoft 365 Agents SDK .NET | 1 |