aimpress-chatbot/node_modules/botbuilder-core/lib/queueStorage.d.ts
“SamoilenkoVadym” 195299ece0 Initial commit
2025-04-27 17:05:18 +01:00

23 lines
No EOL
1,015 B
TypeScript

/**
* @module botbuilder
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { Activity } from 'botframework-schema';
/**
* A base class for enqueueing an Activity for later processing.
*/
export declare abstract class QueueStorage {
/**
* Enqueues an Activity for later processing. The visibility timeout specifies how long the message should be visible
* to Dequeue and Peek operations.
*
* @param {Partial<Activity>} activity The [Activity](xref:botframework-schema.Activity) to be queued for later processing.
* @param {number} visibilityTimeout Visibility timeout in seconds. Optional with a default value of 0. Cannot be larger than 7 days.
* @param {number} timeToLive Specifies the time-to-live interval for the message in seconds.
*/
abstract queueActivity(activity: Partial<Activity>, visibilityTimeout?: number, timeToLive?: number): Promise<string>;
}
//# sourceMappingURL=queueStorage.d.ts.map