UNPKG

@microsoft/botbuilder-m365

Version:

M365 extensions for Microsoft BotBuilder, Alpha release.

23 lines 631 B
/** * @module botbuilder-m365 */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { TurnContext } from 'botbuilder'; import { TurnState } from '../TurnState'; import { Block, BlockTypes } from './Block'; /** * @private */ export declare class TextBlock extends Block { constructor(content: string, startIndex?: number, endIndex?: number); get type(): BlockTypes; isValid(): { valid: boolean; error: string; }; render(context: TurnContext, state: TurnState): string; } //# sourceMappingURL=TextBlock.d.ts.map