phpbotgram

RichBlockUnion
in package

FinalYes

Discriminator resolver for the {@see RichBlock} union.

Wire discriminator: type.

Table of Contents

Methods

members()  : array<int, RichBlock>>
resolve()  : RichBlock

Methods

members()

public static members() : array<int, RichBlock>>
Return values
array<int, RichBlock>>

resolve()

public static resolve(array<string, mixed> $payload[, Bot|null $bot = null ]) : RichBlock
Parameters
$payload : array<string, mixed>
$bot : Bot|null = null
Return values
RichBlock
On this page

Search results