ITypingChannelStrategy.TypingFactory Property
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.
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'.