Menu

## LocationTemplateActionBuilder
in package
implements TemplateActionBuilder

LocationTemplateActionBuilder.php : 29

A builder class for location action.

### Interfaces, Classes and Traits

TemplateActionBuilder
  The interface that has a responsibility to build template action.

### Table of Contents

$label : string
__construct() : mixed
  LocationAction constructor.
buildTemplateAction() : array<string|int, mixed>
  Builds location action structure.

### Properties

#### $label

LocationTemplateActionBuilder.php : 32
`private string $label`

### Methods

#### __construct()

LocationTemplateActionBuilder.php : 40

LocationAction constructor.

`public __construct(string $label) : mixed`

This action can be configured only with quick reply buttons.

##### Parameters

$label : string

  Label of action.

##### Return values

mixed —

#### buildTemplateAction()

LocationTemplateActionBuilder.php : 50

Builds location action structure.

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

##### Return values

array<string|int, mixed> —

Built location action structure.

## Search results