Share via


ShowTypingMiddleware(Int32, Int32) Constructor

Definition

Initializes a new instance of the ShowTypingMiddleware class.

public ShowTypingMiddleware (int delay = 500, int period = 2000);
new Microsoft.Bot.Builder.ShowTypingMiddleware : int * int -> Microsoft.Bot.Builder.ShowTypingMiddleware
Public Sub New (Optional delay As Integer = 500, Optional period As Integer = 2000)

Parameters

delay
Int32

Initial delay before sending first typing indicator. Defaults to 500ms.

period
Int32

Rate at which additional typing indicators will be sent. Defaults to every 2000ms.

Applies to