Language

IActivity.GetMentions Method

Definition

Resolves the mentions from the entities of this activity.

public Microsoft.Agents.Core.Models.Mention[] GetMentions();
abstract member GetMentions : unit -> Microsoft.Agents.Core.Models.Mention[]
Public Function GetMentions () As Mention()

Returns

The array of mentions; or an empty array, if none are found.

Remarks

Intended for use with a message activity, where the activity Type is Message.

Applies to

See also