bootdesk/chat-sdk

Thread
in package

Table of Contents

Properties

$adapter  : Adapter
$chat  : Chat
$id  : string
$state  : StateAdapter

Methods

__construct()  : mixed
addReaction()  : void
delete()  : void
edit()  : SentMessage
fetchMessages()  : FetchResult
getState()  : array<string|int, mixed>
isSubscribed()  : bool
post()  : SentMessage
postEphemeral()  : void
removeReaction()  : void
setState()  : void
startTyping()  : void
subscribe()  : void
unsubscribe()  : void
normalizePostable()  : PostableMessage
runSendingMiddleware()  : PostableMessage|null

Properties

Methods

addReaction()

public addReaction(string $messageId, string $emoji) : void
Parameters
$messageId : string
$emoji : string

delete()

public delete(string $messageId) : void
Parameters
$messageId : string

getState()

public getState() : array<string|int, mixed>
Return values
array<string|int, mixed>

isSubscribed()

public isSubscribed() : bool
Return values
bool

removeReaction()

public removeReaction(string $messageId, string $emoji) : void
Parameters
$messageId : string
$emoji : string

setState()

public setState(array<string|int, mixed> $state) : void
Parameters
$state : array<string|int, mixed>

startTyping()

public startTyping() : void

subscribe()

public subscribe() : void

unsubscribe()

public unsubscribe() : void
On this page

Search results