Share via


Mention Constructors

Definition

Overloads

Mention()

Initializes a new instance of the Mention class.

Mention(ChannelAccount, String, String)

Initializes a new instance of the Mention class.

Mention()

Initializes a new instance of the Mention class.

public Mention ();
Public Sub New ()

Applies to

Mention(ChannelAccount, String, String)

Initializes a new instance of the Mention class.

public Mention (Microsoft.Bot.Schema.ChannelAccount mentioned = default, string text = default, string type = default);
new Microsoft.Bot.Schema.Mention : Microsoft.Bot.Schema.ChannelAccount * string * string -> Microsoft.Bot.Schema.Mention
Public Sub New (Optional mentioned As ChannelAccount = Nothing, Optional text As String = Nothing, Optional type As String = Nothing)

Parameters

mentioned
ChannelAccount

The mentioned user.

text
String

Sub Text which represents the mention (can be null or empty).

type
String

Type of this entity (RFC 3987 IRI).

Applies to