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