MessageActivityInput.AddMention(TeamsChannelAccount, 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.
Adds a mention (@mention) entity and optionally prepends mention text.
public Microsoft.Teams.Apps.MessageActivityInput AddMention(Microsoft.Teams.Apps.Schema.TeamsChannelAccount account, string? text = default, bool addText = true);
member this.AddMention : Microsoft.Teams.Apps.Schema.TeamsChannelAccount * string * bool -> Microsoft.Teams.Apps.MessageActivityInput
Public Function AddMention (account As TeamsChannelAccount, Optional text As String = Nothing, Optional addText As Boolean = true) As MessageActivityInput
Parameters
- account
- TeamsChannelAccount
- text
- String
- addText
- Boolean