/** * @module botbuilder-dialogs-adaptive-teams */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { BoolExpression, Expression, StringExpression } from 'adaptive-expressions'; import { Converter, ConverterFactory, DialogConfiguration, DialogContext, DialogTurnResult } from 'botbuilder-dialogs'; import { BaseTeamsCacheInfoResponseDialog } from './baseTeamsCacheInfoResponseDialog'; export interface SendMEMessageResponseConfiguration extends DialogConfiguration { disabled?: boolean | string | BoolExpression; message?: string | Expression | StringExpression; } /** * Send a messaging extension 'message' response. */ export declare class SendMEMessageResponse extends BaseTeamsCacheInfoResponseDialog implements SendMEMessageResponseConfiguration { /** * Class identifier. */ static readonly $kind = "Teams.SendMEMessageResponse"; /** * Gets or sets the template or text to use to generate the response message to send. */ message?: StringExpression; getConverter(property: keyof SendMEMessageResponseConfiguration): Converter | ConverterFactory; /** * Called when the dialog is started and pushed onto the dialog stack. * * @param {DialogContext} dc The [DialogContext](xref:botbuilder-dialogs.DialogContext) for the current turn of conversation. * @param {object} _options Optional, initial information to pass to the dialog. * @returns {Promise} A promise representing the asynchronous operation. */ beginDialog(dc: DialogContext, _options?: Record): Promise; /** * Builds the compute Id for the dialog. * * @returns {string} A string representing the compute Id. */ protected onComputeId(): string; } //# sourceMappingURL=sendMEMessageResponse.d.ts.map