Skip to content

Commit 4621ae7

Browse files
committed
Add inputOption property
1 parent 1b668fc commit 4621ae7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lib/types.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,6 +2121,18 @@ export type PostbackAction = {
21212121
* The `displayText` and `text` properties cannot both be used at the same time.
21222122
*/
21232123
displayText?: string;
2124+
/**
2125+
* The display method of such as rich menu based on user action
2126+
*/
2127+
inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
2128+
/*
2129+
* String to be pre-filled in the input field when the keyboard is opened.
2130+
* Valid only when the inputOption property is set to openKeyboard.
2131+
* The string can be broken by a newline character (\n).
2132+
*
2133+
* Max: 300 characters
2134+
*/
2135+
fillInText?: string;
21242136
};
21252137

21262138
/**

0 commit comments

Comments
 (0)