SkypeMentionNormalizeMiddleware 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.
Caution
You should use NormalizeMentionsMiddleware instead of this class.
Middleware to patch mention Entities from Skype since they don't conform to expected values. Bots that interact with Skype should use this middleware if mentions are used.
[System.Obsolete("You should use NormalizeMentionsMiddleware instead of this class.")]
public class SkypeMentionNormalizeMiddleware : Microsoft.Bot.Builder.IMiddleware
[<System.Obsolete("You should use NormalizeMentionsMiddleware instead of this class.")>]
type SkypeMentionNormalizeMiddleware = class
interface IMiddleware
Public Class SkypeMentionNormalizeMiddleware
Implements IMiddleware
- Inheritance
-
SkypeMentionNormalizeMiddleware
- Attributes
- Implements
Constructors
SkypeMentionNormalizeMiddleware() |
Initializes a new instance of the SkypeMentionNormalizeMiddleware class. |
Methods
NormalizeSkypMentionText(Activity) |
Performs the normalization of Skype mention Entities. |
OnTurnAsync(ITurnContext, NextDelegate, CancellationToken) |
Middleware implementation which corrects Enity.Mention.Text to a value RemoveMentionText can work with. |