SkypeMentionNormalizeMiddleware Class

Definition

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.

Applies to