/// <summary> /// Suspend the current dialog until the user has sent a message to the bot. /// </summary> /// <param name="stack">The dialog stack.</param> /// <param name="resume">The method to resume when the message has been received.</param> public static void Wait(this IDialogStack stack, ResumeAfter <Message> resume) { stack.Wait <Message>(resume); }
/// <summary> /// Suspend the current dialog until the user has sent a message to the bot. /// </summary> /// <param name="stack">The dialog stack.</param> /// <param name="resume">The method to resume when the message has been received.</param> public static void Wait(this IDialogStack stack, ResumeAfter <IMessageActivity> resume) { stack.Wait <IMessageActivity>(resume); }