bootdesk/chat-sdk

WebhookEvent
in package

Table of Contents

Constants

TYPE_ACTION  : mixed = 'action'
TYPE_MESSAGE  : mixed = 'message'
TYPE_REACTION  : mixed = 'reaction'
TYPE_SLASH_COMMAND  : mixed = 'slash_command'
TYPE_STATUS  : mixed = 'status'

Properties

$originId  : string|null
$payload  : mixed
$threadId  : string
$type  : string

Methods

__construct()  : mixed

Constants

TYPE_SLASH_COMMAND

public mixed TYPE_SLASH_COMMAND = 'slash_command'

Properties

Methods

__construct()

public __construct("message"|"action"|"reaction"|"status"|"slash_command" $type, string $threadId, mixed $payload[, string|null $originId = null ]) : mixed
Parameters
$type : "message"|"action"|"reaction"|"status"|"slash_command"
$threadId : string
$payload : mixed

Message for TYPE_MESSAGE, array for all others

$originId : string|null = null
On this page

Search results