ITypingChannelStrategy.TypingFactory Property

Definition

Gets a factory function that creates a typing activity for the specified turn context.

public Func<Microsoft.Agents.Builder.ITurnContext,Microsoft.Agents.Core.Models.ConversationReference,Microsoft.Agents.Core.Models.IActivity> TypingFactory { get; }
member this.TypingFactory : Func<Microsoft.Agents.Builder.ITurnContext, Microsoft.Agents.Core.Models.ConversationReference, Microsoft.Agents.Core.Models.IActivity>
Public ReadOnly Property TypingFactory As Func(Of ITurnContext, ConversationReference, IActivity)

Property Value

Remarks

This factory can be used to generate typing indicators in a conversation, allowing for a more interactive user experience. The created activity can be sent to the user to indicate that the agent is 'typing'.

Applies to