CloudWebhook

A webhook class that can receive incoming messages

Methods

unregister

(async) unregister(): Promise.<any>

Unregister the webhook. This is a shortcut for ManagerCloud#unregisterWebhook

Returns

Promise.<any>

Events

message

.on('message')

This event is fired when a webhook message has been received.

Parameters

Name Type Description
args
object
headers
object

Received HTTP headers

query
object

Received HTTP query string

body
object

Received HTTP body

}