Skip to content

Commit 208c41c

Browse files
ert485EricDahlvang
andauthored
Fix renaming of Task Response type (#2369)
#1789 incorrectly changed `Type2` to `BotMessagePreviewActionType` instead of `BotMessagePreviewType` Co-authored-by: Eric Dahlvang <EricDahlvang@gmail.com>
1 parent 18a2191 commit 208c41c

File tree

1 file changed

+3
-3
lines changed
  • libraries/botframework-schema/src/teams

1 file changed

+3
-3
lines changed

libraries/botframework-schema/src/teams/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -905,10 +905,10 @@ export interface MessagingExtensionAction extends TaskModuleRequest {
905905
*/
906906
export interface TaskModuleResponseBase {
907907
/**
908-
* @member {BotMessagePreviewActionType} [type] Choice of action options when responding to the
908+
* @member {BotMessagePreviewType} [type] Choice of action options when responding to the
909909
* task/submit message. Possible values include: 'message', 'continue'
910910
*/
911-
type?: BotMessagePreviewActionType;
911+
type?: BotMessagePreviewType;
912912
}
913913

914914
/**
@@ -1382,7 +1382,7 @@ export type BotMessagePreviewType = 'message' | 'continue';
13821382
/**
13831383
* @deprecated Use BotMessagePreviewType
13841384
*/
1385-
export type Type2 = BotMessagePreviewActionType
1385+
export type Type2 = BotMessagePreviewType
13861386

13871387
/**
13881388
* Defines values for AttachmentLayout.

0 commit comments

Comments
 (0)