Share via


Mention Class

Definition

Mention information (entity type: "mention").

public class Mention : Microsoft.Bot.Schema.Entity
type Mention = class
    inherit Entity
Public Class Mention
Inherits Entity
Inheritance
Mention

Constructors

Mention()

Initializes a new instance of the Mention class.

Mention(ChannelAccount, String, String)

Initializes a new instance of the Mention class.

Properties

Mentioned

Gets or sets the mentioned user.

Properties

Gets or sets properties that are not otherwise defined by the Entity type but that might appear in the REST JSON object.

(Inherited from Entity)
Text

Gets or sets sub Text which represents the mention (can be null or empty).

Type

Gets or sets type of this entity (RFC 3987 IRI).

(Inherited from Entity)

Methods

Equals(Entity)

Indicates whether the current object is equal to another object of the same type.

(Inherited from Entity)
Equals(Object)

Determines whether the specifid object is equal to the current object.

(Inherited from Entity)
GetAs<T>()

Retrieve internal payload.

(Inherited from Entity)
GetHashCode()

Hash function that generates a hash code for the current object.

(Inherited from Entity)
SetAs<T>(T)

Set internal payload.

(Inherited from Entity)

Applies to