Menu

## RichMenuSizeBuilder
in package

RichMenuSizeBuilder.php : 26

A RichMenu size builder class

### Table of Contents

$height : int
$width : int
__construct() : mixed
  RichMenuSizeBuilder constructor.
build() : array<string|int, mixed>
  Builds RichMenu size object.
getFull() : RichMenuSizeBuilder
  RichMenuSizeBuilder helper function
getHalf() : RichMenuSizeBuilder
  RichMenuSizeBuilder helper function

### Properties

#### $height

RichMenuSizeBuilder.php : 29
`private int $height`

#### $width

RichMenuSizeBuilder.php : 31
`private int $width`

### Methods

#### __construct()

RichMenuSizeBuilder.php : 39

RichMenuSizeBuilder constructor.

`public __construct(int $height, int $width) : mixed`

##### Parameters

$height : int

  Height of the rich menu. Possible values: 1686, 843.

$width : int

  Width of the rich menu. Must be 2500.

##### Return values

mixed —

#### build()

RichMenuSizeBuilder.php : 70

Builds RichMenu size object.

`public build() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

Built RichMenu size object.

#### getFull()

RichMenuSizeBuilder.php : 50

RichMenuSizeBuilder helper function

`public static getFull() : RichMenuSizeBuilder`

##### Return values

RichMenuSizeBuilder —

instance with full size

#### getHalf()

RichMenuSizeBuilder.php : 60

RichMenuSizeBuilder helper function

`public static getHalf() : RichMenuSizeBuilder`

##### Return values

RichMenuSizeBuilder —

instance with half size

## Search results