BotCommandScopeUnion
in package
FinalYes
Discriminator resolver for the {@see BotCommandScope} union.
Wire discriminator: type.
Table of Contents
Methods
- members() : array<int, BotCommandScope>>
- resolve() : BotCommandScope
Methods
members()
public
static members() : array<int, BotCommandScope>>
Return values
array<int, BotCommandScope>>resolve()
public
static resolve(array<string, mixed> $payload[, Bot|null $bot = null ]) : BotCommandScope
Parameters
- $payload : array<string, mixed>
- $bot : Bot|null = null