NormalizeMentionsMiddleware Class
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.
Middleware to normalize mention Entities from channels that apply <at> markup tags since they don't conform to expected values. Bots that interact with Skype and/or teams should use this middleware if mentions are used.
public class NormalizeMentionsMiddleware : Microsoft.Bot.Builder.IMiddleware
type NormalizeMentionsMiddleware = class
interface IMiddleware
Public Class NormalizeMentionsMiddleware
Implements IMiddleware
- Inheritance
-
NormalizeMentionsMiddleware
- Implements
Constructors
NormalizeMentionsMiddleware() |
Initializes a new instance of the NormalizeMentionsMiddleware class. |
Properties
RemoveRecipientMention |
Gets or sets a value indicating whether the any recipient mentions should be removed. |
Methods
OnTurnAsync(ITurnContext, NextDelegate, CancellationToken) |
Middleware implementation which corrects Enity.Mention.Text to a value RemoveMentionText can work with. |