UNPKG

721 BTypeScriptView Raw
1/**
2 * Copyright (c) Microsoft Corporation. All rights reserved.
3 * Licensed under the MIT License.
4 */
5import * as BB from 'botbuilder';
6import { BotState } from './BotState';
7export interface QueuedInput {
8 conversationId: string;
9 timestamp: number;
10 callback: Function;
11}
12export declare class InputQueue {
13 private static messageQueue;
14 static AddInput(botState: BotState, request: BB.Activity, conversationReference: Partial<BB.ConversationReference>, callback: Function): Promise<any>;
15 private static InputQueueAdd;
16 private static InputQueueProcess;
17 private static InputQueueProcessNext;
18 static MessageHandled(botState: BotState, conversationId: string | undefined): Promise<void>;
19}