SkypeMentionNormalizeMiddleware 类

定义

注意

You should use NormalizeMentionsMiddleware instead of this class.

用于修补的中间件提及来自 Skype 的实体,因为它们不符合预期值。 如果使用提及,则与 Skype 交互的机器人应使用此中间件。

[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
继承
SkypeMentionNormalizeMiddleware
属性
实现

构造函数

SkypeMentionNormalizeMiddleware()
已过时.

初始化 SkypeMentionNormalizeMiddleware 类的新实例。

方法

NormalizeSkypMentionText(Activity)
已过时.

执行 Skype 提及实体的规范化。

OnTurnAsync(ITurnContext, NextDelegate, CancellationToken)
已过时.

中间件实现,将 Enity.Mention.Text 更正为 RemoveMentionText 可以使用的值。

适用于