@@ -10,11 +10,11 @@ import { Middleware } from './middlewareSet';
10
10
import { TurnContext } from './turnContext' ;
11
11
12
12
/**
13
- * Middleware that will send a typing indicator autmatically for each message.
13
+ * Middleware that will send a typing indicator automatically for each message.
14
14
*
15
15
* @remarks
16
16
* When added, this middleware will send typing activities back to the user when a Message activity
17
- * is receieved to let them know that the bot has received the message and is working on the response.
17
+ * is received to let them know that the bot has received the message and is working on the response.
18
18
* You can specify a delay in milliseconds before the first typing activity is sent and then a frequency,
19
19
* also in milliseconds which determines how often another typing activity is sent. Typing activities
20
20
* will continue to be sent until your bot sends another message back to the user
@@ -67,7 +67,7 @@ export class ShowTypingMiddleware implements Middleware {
67
67
} ;
68
68
69
69
// Sending the Activity directly via the Adapter avoids other middleware and avoids setting the
70
- // responded flag. However this also requires tha tthe conversation reference details are explicitly added.
70
+ // responded flag. However this also requires that the conversation reference details are explicitly added.
71
71
const conversationReference : Partial < ConversationReference > =
72
72
TurnContext . getConversationReference ( context . activity ) ;
73
73
typingActivity = TurnContext . applyConversationReference ( typingActivity , conversationReference ) ;
@@ -109,7 +109,7 @@ export class ShowTypingMiddleware implements Middleware {
109
109
} ;
110
110
111
111
// Sending the Activity directly via the Adapter avoids other middleware and avoids setting the
112
- // responded flag. However this also requires tha tthe conversation reference details are explicitly added.
112
+ // responded flag. However this also requires that the conversation reference details are explicitly added.
113
113
const conversationReference : Partial < ConversationReference > = TurnContext . getConversationReference ( context . activity ) ;
114
114
typingActivity = TurnContext . applyConversationReference ( typingActivity , conversationReference ) ;
115
115
0 commit comments