Menu

## SenderMessageBuilder
in package
implements SenderBuilder

SenderMessageBuilder.php : 28

A builder class for sender message.

### Interfaces, Classes and Traits

SenderBuilder

### Table of Contents

$iconUrl : string|null
$name : string|null
$sender : array<string|int, mixed>|null
__construct() : mixed
  SenderMessageBuilder constructor.
buildSender() : array<string|int, mixed>
  Builds sender structure.

### Properties

#### $iconUrl

SenderMessageBuilder.php : 33
`private string|null $iconUrl`

#### $name

SenderMessageBuilder.php : 31
`private string|null $name`

#### $sender

SenderMessageBuilder.php : 35
`private array<string|int, mixed>|null $sender`

### Methods

#### __construct()

SenderMessageBuilder.php : 42

SenderMessageBuilder constructor.

`public __construct([string|null $name = null ][, string|null $iconUrl = null ]) : mixed`

##### Parameters

$name : string|null = null

  sender name. Max 20 charcters

$iconUrl : string|null = null

  icon url. Max 1000 characters https only

##### Return values

mixed —

#### buildSender()

SenderMessageBuilder.php : 53

Builds sender structure.

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

##### Return values

array<string|int, mixed> —

## Search results