DiscordPHP Documentation

UserSpeakingState
in package

FinalYes

Table of Contents

Properties

$packets  : array<string|int, mixed>
$speaking  : bool
$userId  : int

Methods

__construct()  : mixed
getPacketsByUserId()  : array<string|int, mixed>
getUserId()  : int
isSpeaking()  : bool

Properties

Methods

__construct()

public __construct(int $userId, bool $speaking, array<string|int, mixed> $packets) : mixed
Parameters
$userId : int
$speaking : bool
$packets : array<string|int, mixed>

getPacketsByUserId()

public getPacketsByUserId(int $userId) : array<string|int, mixed>
Parameters
$userId : int
Return values
array<string|int, mixed>

        
On this page

Search results