MentionEntity Constructors
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
| Name | Description |
|---|---|
| MentionEntity() |
Creates a new instance of MentionEntity. |
| MentionEntity(ChannelAccount, String) |
Creates a new instance of MentionEntity with the specified mentioned account and text. |
MentionEntity()
MentionEntity(ChannelAccount, String)
Creates a new instance of MentionEntity with the specified mentioned account and text.
public MentionEntity(Microsoft.Teams.Core.Schema.ChannelAccount mentioned, string? text);
new Microsoft.Teams.Apps.Schema.Entities.MentionEntity : Microsoft.Teams.Core.Schema.ChannelAccount * string -> Microsoft.Teams.Apps.Schema.Entities.MentionEntity
Public Sub New (mentioned As ChannelAccount, text As String)
Parameters
- mentioned
- ChannelAccount
The conversation account being mentioned.
- text
- String
The text representation of the mention, typically formatted as "<at>name</at>".