bootdesk/chat-sdk

ChatRoute
in package

Table of Contents

Properties

$adapter  : string|null
$channelId  : string|null
$threadId  : string|null
$userId  : string|null

Methods

channel()  : self
dm()  : self
thread()  : self
__construct()  : mixed

Properties

$adapter read-only

public string|null $adapter = null

$channelId read-only

public string|null $channelId = null

$threadId read-only

public string|null $threadId = null

$userId read-only

public string|null $userId = null

Methods

channel()

public static channel(string $adapter, string $channelId) : self
Parameters
$adapter : string
$channelId : string
Return values
self

dm()

public static dm(string $adapter, string $userId) : self
Parameters
$adapter : string
$userId : string
Return values
self

thread()

public static thread(string $threadId) : self
Parameters
$threadId : string
Return values
self

__construct()

private __construct([string|null $threadId = null ][, string|null $channelId = null ][, string|null $adapter = null ][, string|null $userId = null ]) : mixed
Parameters
$threadId : string|null = null
$channelId : string|null = null
$adapter : string|null = null
$userId : string|null = null
On this page

Search results