Skip to content

Commit 6396d88

Browse files
authored
feat: make box's contents can empty and add animated property (#271)
* feat: make box's contents can empty and add animated property * Modify to original
1 parent d75d44c commit 6396d88

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/types.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,6 +1411,14 @@ export type FlexImage = {
14111411
* Specify an [action object](https://developers.line.biz/en/reference/messaging-api/#action-objects).
14121412
*/
14131413
action?: Action;
1414+
/**
1415+
* When this is `true`, an animated image (APNG) plays.
1416+
* You can specify a value of `true` up to three times in a single message.
1417+
* You can't send messages that exceed this limit.
1418+
* This is `false` by default.
1419+
* Animated images larger than 300 KB aren't played back.
1420+
*/
1421+
animated?: Boolean;
14141422
} & Offset;
14151423

14161424
/**

0 commit comments

Comments
 (0)