IActivity.AddMention(ChannelAccount, String, Boolean) 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.
public Microsoft.Agents.Core.Models.IActivity AddMention(Microsoft.Agents.Core.Models.ChannelAccount account, string text = default, bool addText = true);
abstract member AddMention : Microsoft.Agents.Core.Models.ChannelAccount * string * bool -> Microsoft.Agents.Core.Models.IActivity
Public Function AddMention (account As ChannelAccount, Optional text As String = Nothing, Optional addText As Boolean = true) As IActivity
Parameters
- account
- ChannelAccount
The account being mentioned.
- addText
- Boolean
When true (default), the <at> mention markup is prepended to the activity text.
Returns
This activity.