CoreActivityInputBuilder<TActivity,TBuilder>.WithRecipient 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.
Sets the recipient account for the activity.
public TBuilder WithRecipient(Microsoft.Teams.Core.Schema.ChannelAccount account);
member this.WithRecipient : Microsoft.Teams.Core.Schema.ChannelAccount -> 'Builder
Public Function WithRecipient (account As ChannelAccount) As TBuilder
Parameters
- account
- ChannelAccount
The recipient account.
Returns
The builder instance for chaining.