Menu

## ImagemapMessageBuilder
in package
implements MessageBuilder

ImagemapMessageBuilder.php : 34

A builder class for imagemap message.

### Interfaces, Classes and Traits

MessageBuilder
  The interface that has a responsibility to build message.

### Table of Contents

$altText : string
$baseSizeBuilder : BaseSizeBuilder
$baseUrl : string
$imagemapActionBuilders : array<string|int, ImagemapActionBuilder>
$message : array<string|int, mixed>
$quickReply : QuickReplyBuilder|null
$sender : SenderBuilder|null
$videoBuilder : VideoBuilder|null
__construct() : mixed
  ImagemapMessageBuilder constructor.
buildMessage() : array<string|int, mixed>
  Builds imagemap message strucutre.

### Properties

#### $altText

ImagemapMessageBuilder.php : 40
`private string $altText`

#### $baseSizeBuilder

ImagemapMessageBuilder.php : 43
`private BaseSizeBuilder $baseSizeBuilder`

#### $baseUrl

ImagemapMessageBuilder.php : 37
`private string $baseUrl`

#### $imagemapActionBuilders

ImagemapMessageBuilder.php : 49
`private array<string|int, ImagemapActionBuilder> $imagemapActionBuilders`

#### $message

ImagemapMessageBuilder.php : 52
`private array<string|int, mixed> $message = []`

#### $quickReply

ImagemapMessageBuilder.php : 55
`private QuickReplyBuilder|null $quickReply`

#### $sender

ImagemapMessageBuilder.php : 58
`private SenderBuilder|null $sender`

#### $videoBuilder

ImagemapMessageBuilder.php : 46
`private VideoBuilder|null $videoBuilder`

### Methods

#### __construct()

ImagemapMessageBuilder.php : 71

ImagemapMessageBuilder constructor.

`public __construct(string $baseUrl, string $altText, BaseSizeBuilder $baseSizeBuilder, array<string|int, ImagemapActionBuilder> $imagemapActionBuilders[, QuickReplyBuilder|null $quickReply = null ][, VideoBuilder|null $videoBuilder = null ][, SenderBuilder|null $sender = null ]) : mixed`

##### Parameters

$baseUrl : string
$altText : string
$baseSizeBuilder : BaseSizeBuilder
$imagemapActionBuilders : array<string|int, ImagemapActionBuilder>
$quickReply : QuickReplyBuilder|null = null
$videoBuilder : VideoBuilder|null = null
$sender : SenderBuilder|null = null

##### Return values

mixed —

#### buildMessage()

ImagemapMessageBuilder.php : 94

Builds imagemap message strucutre.

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

##### Return values

array<string|int, mixed> —

## Search results