Skip to content

Commit 755884a

Browse files
kazuki-maimasahiro
authored andcommitted
Update comment of the RichMenuSize (#381)
Closes #374
1 parent ef6b58e commit 755884a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

line-bot-model/src/main/java/com/linecorp/bot/model/richmenu/RichMenuSize.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@ public class RichMenuSize {
2626
public static final RichMenuSize FULL = new RichMenuSize(2500, 1686);
2727
public static final RichMenuSize HALF = new RichMenuSize(2500, 843);
2828

29-
/** Width of the rich menu. Must be 2500. */
29+
/** Width of the rich menu. Possible values: 2500, 1200, or 800. */
3030
int width;
31-
/** Height of the rich menu. Possible values: 1686 or 843. */
31+
/**
32+
* Height of the rich menu.
33+
* Possible values: 1686 or 843 for width = 2500, 810 or 405 for 1200, 540 or 270 for 800.
34+
*/
3235
int height;
3336

3437
@JsonCreator

0 commit comments

Comments
 (0)