bootdesk/chat-sdk

BroadcastAdapter

Table of Contents

Methods

broadcast()  : void
broadcastToUser()  : void
connect()  : void
disconnect()  : void
isBroadcastingAvailable()  : bool

Methods

broadcast()

public broadcast(string $threadId, BroadcastEvent $event[, array<string|int, mixed> $options = [] ]) : void
Parameters
$threadId : string
$event : BroadcastEvent
$options : array<string|int, mixed> = []

broadcastToUser()

public broadcastToUser(string $threadId, string|array<string|int, mixed> $userIds, BroadcastEvent $event[, array<string|int, mixed> $options = [] ]) : void
Parameters
$threadId : string
$userIds : string|array<string|int, mixed>
$event : BroadcastEvent
$options : array<string|int, mixed> = []

isBroadcastingAvailable()

public isBroadcastingAvailable(string $threadId) : bool
Parameters
$threadId : string
Return values
bool
On this page

Search results