bootdesk/chat-sdk

WebhookEvent
in package

Table of Contents

Constants

TYPE_ACTION  : mixed = 'action'
TYPE_MESSAGE  : mixed = 'message'
TYPE_MESSAGE_COST  : mixed = 'message_cost'
TYPE_REACTION  : mixed = 'reaction'
TYPE_SLASH_COMMAND  : mixed = 'slash_command'
TYPE_STATUS  : mixed = 'status'
TYPE_UNSUPPORTED  : mixed = 'unsupported'

Properties

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

Methods

__construct()  : mixed

Constants

TYPE_MESSAGE_COST

public mixed TYPE_MESSAGE_COST = 'message_cost'

TYPE_SLASH_COMMAND

public mixed TYPE_SLASH_COMMAND = 'slash_command'

TYPE_UNSUPPORTED

public mixed TYPE_UNSUPPORTED = 'unsupported'

Properties

Methods

__construct()

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

Message for TYPE_MESSAGE, array for all others

$originId : string|null = null
On this page

Search results