Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
context.endOfConversation = function endOfConversation(code) {
throwIfDisposed('endOfConversation');
const activity = {
type: botframework_schema_1.ActivityTypes.EndOfConversation,
code: code || botframework_schema_1.EndOfConversationCodes.CompletedSuccessfully
};
this.responses.push(activity);
return this;
};
context.reply = function reply(textOrActivity, speak, additional) {