Class RealTimeClient
A client for the Slack real-time messaging API.
- Slack\ApiClient
- Slack\RealTimeClient uses Evenement\EventEmitterTrait (not available)
Methods summary
public
React\Promise\PromiseInterface
|
|
public
|
|
public
React\Promise\PromiseInterface
|
|
public
React\Promise\PromiseInterface
|
|
public
React\Promise\PromiseInterface
|
|
public
React\Promise\PromiseInterface
|
|
public
React\Promise\PromiseInterface
|
|
public
React\Promise\PromiseInterface
|
|
public
React\Promise\PromiseInterface
|
|
public
React\Promise\PromiseInterface
|
|
public
React\Promise\PromiseInterface
|
|
public
React\Promise\PromiseInterface
|
|
public
React\Promise\PromiseInterface
|
|
public
React\Promise\PromiseInterface
|
|
public
boolean
|
Methods inherited from Slack\ApiClient
__construct()
,
apiCall()
,
getAuthedUser()
,
getChannelByName()
,
getChannelGroupOrDMByID()
,
getDMByUser()
,
getDMByUserId()
,
getGroupByName()
,
getMessageBuilder()
,
getUserByName()
,
send()
,
setToken()
Constants summary
Constants inherited from Slack\ApiClient
Properties summary
protected
Devristo\Phpws\Client\WebSocket
|
$websocket
A websocket connection to the Slack API. |
|
protected
integer
|
$lastMessageId
The ID of the last payload sent to Slack. |
#
0
|
protected
array
|
$pendingMessages
An array of pending messages waiting for successful confirmation from Slack. |
#
[]
|
protected
boolean
|
$connected
Indicates if the client is connected. |
#
false
|
protected
|
$team
The team logged in to. |
|
protected
array
|
$users
A map of users. |
#
[]
|
protected
array
|
$channels
A map of channels. |
#
[]
|
protected
array
|
$groups
A map of groups. |
#
[]
|
protected
array
|
$dms
A map of direct message channels. |
#
[]
|
protected
array
|
$bots
A map of bots. |
#
[]
|