Menu

## RichMenuAreaBuilder
in package

RichMenuAreaBuilder.php : 28

A RichMenu area builder class

### Table of Contents

$actionBuilder : TemplateActionBuilder
$boundsBuilder : RichMenuAreaBoundsBuilder
__construct() : mixed
  RichMenuAreaBuilder constructor.
build() : array<string|int, mixed>
  Builds RichMenu area object.

### Properties

#### $actionBuilder

RichMenuAreaBuilder.php : 33
`private TemplateActionBuilder $actionBuilder`

#### $boundsBuilder

RichMenuAreaBuilder.php : 31
`private RichMenuAreaBoundsBuilder $boundsBuilder`

### Methods

#### __construct()

RichMenuAreaBuilder.php : 42

RichMenuAreaBuilder constructor.

`public __construct(RichMenuAreaBoundsBuilder $boundsBuilder, TemplateActionBuilder $actionBuilder) : mixed`

##### Parameters

$boundsBuilder : RichMenuAreaBoundsBuilder

  Object describing the boundaries of the area in pixels.

$actionBuilder : TemplateActionBuilder

  Action performed when the area is tapped. See action objects. Note: The label property is not supported for actions in rich menus.

##### Return values

mixed —

#### build()

RichMenuAreaBuilder.php : 53

Builds RichMenu area object.

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

##### Return values

array<string|int, mixed> —

Built RichMenu area object.

## Search results