Menu

## StickerMessageBuilder
in package
implements MessageBuilder

StickerMessageBuilder.php : 31

A builder class for sticker message.

### Interfaces, Classes and Traits

MessageBuilder
  The interface that has a responsibility to build message.

### Table of Contents

$message : array<string|int, mixed>
$packageId : string
$quickReply : QuickReplyBuilder|null
$sender : SenderBuilder|null
$stickerId : string
__construct() : mixed
  StickerMessageBuilder constructor.
buildMessage() : array<string|int, mixed>
  Builds sticker message structure.

### Properties

#### $message

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

#### $packageId

StickerMessageBuilder.php : 34
`private string $packageId`

#### $quickReply

StickerMessageBuilder.php : 43
`private QuickReplyBuilder|null $quickReply`

#### $sender

StickerMessageBuilder.php : 46
`private SenderBuilder|null $sender`

#### $stickerId

StickerMessageBuilder.php : 37
`private string $stickerId`

### Methods

#### __construct()

StickerMessageBuilder.php : 56

StickerMessageBuilder constructor.

`public __construct(string $packageId, string $stickerId[, QuickReplyBuilder|null $quickReply = null ][, SenderBuilder|null $sender = null ]) : mixed`

##### Parameters

$packageId : string
$stickerId : string
$quickReply : QuickReplyBuilder|null = null
$sender : SenderBuilder|null = null

##### Return values

mixed —

#### buildMessage()

StickerMessageBuilder.php : 73

Builds sticker message structure.

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

##### Return values

array<string|int, mixed> —

## Search results