LINE Messaging API SDK for PHP

BlockStyleBuilder

A builder class for bubble style.

Table of Contents

$backgroundColor  : string
$separator  : bool
$separatorColor  : string
$style  : array<string|int, mixed>|null
__construct()  : mixed
BlockStyleBuilder constructor.
build()  : array<string|int, mixed>
Builds block style structure.
builder()  : BlockStyleBuilder
Create empty BlockStyleBuilder.
setBackgroundColor()  : BlockStyleBuilder
Set backgroundColor.
setSeparator()  : BlockStyleBuilder
Set separator.
setSeparatorColor()  : BlockStyleBuilder
Set separatorColor.

Properties

Methods

__construct()

BlockStyleBuilder constructor.

public __construct([string|null $backgroundColor = null ][, bool|null $separator = null ][, string|null $separatorColor = null ]) : mixed
Parameters
$backgroundColor : string|null = null
$separator : bool|null = null
$separatorColor : string|null = null
Return values
mixed

build()

Builds block style structure.

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

Search results