Activity.WithMention 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.
Overloads
WithMention(String, String, Boolean)
public Microsoft.Agents.Core.Models.IActivity WithMention(string id, string name = default, bool addText = true);
abstract member WithMention : string * string * bool -> Microsoft.Agents.Core.Models.IActivity
override this.WithMention : string * string * bool -> Microsoft.Agents.Core.Models.IActivity
Public Function WithMention (id As String, Optional name As String = Nothing, Optional addText As Boolean = true) As IActivity
Parameters
- id
- String
- name
- String
- addText
- Boolean
Returns
Implements
Applies to
WithMention(ChannelAccount, String, Boolean)
public Microsoft.Agents.Core.Models.IActivity WithMention(Microsoft.Agents.Core.Models.ChannelAccount account, string text = default, bool addText = true);
abstract member WithMention : Microsoft.Agents.Core.Models.ChannelAccount * string * bool -> Microsoft.Agents.Core.Models.IActivity
override this.WithMention : Microsoft.Agents.Core.Models.ChannelAccount * string * bool -> Microsoft.Agents.Core.Models.IActivity
Public Function WithMention (account As ChannelAccount, Optional text As String = Nothing, Optional addText As Boolean = true) As IActivity
Parameters
- account
- ChannelAccount
- text
- String
- addText
- Boolean