Activity.GetMentions 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.
Resolves the mentions from the entities of this activity.
public Microsoft.Bot.Schema.Mention[] GetMentions ();
abstract member GetMentions : unit -> Microsoft.Bot.Schema.Mention[]
override this.GetMentions : unit -> Microsoft.Bot.Schema.Mention[]
Public Function GetMentions () As Mention()
Returns
Mention[]
The array of mentions; or an empty array, if none are found.
Implements
Remarks
This method is defined on the Activity class, but is only intended for use with a message activity, where the activity Type is set to Message.