botframework-schema
Version:
Activity schema for the Microsoft Bot Framework.
19 lines (16 loc) • 482 B
text/typescript
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import type { CardAction } from '../actions/cardAction';
/**
* Base properties for the buttons used in different Adaptive Card Extension card view components, such as Text Input, Search Box and Card Button.
*/
export interface CardButtonBase {
/**
* The type of the button.
*/
action: CardAction;
/**
* Unique Id of the button.
*/
id?: string;
}