export Class
WebhookManager ​
extends ​
BaseManager
Constructor ​
ts
new WebhookManager( client, pointer, defaults )| Parameter | Type | Description |
|---|---|---|
client | Client | |
pointer? | string | |
defaults? | any |
Properties ​
get defaults : Function ​
get isJson : Function ​
get nest : Function ​
readonly client : Client ​
readonly default? : any ​
readonly options : any ​
Methods ​
asyncdelete( drop_pending_updates ) ​
| Parameter | Type | Description |
|---|---|---|
drop_pending_updates? | boolean |
Returns:
Promise<boolean>
asyncget( ) ​
Returns:
Promise<boolean|WebhookInfo>
asyncset( options ) ​
| Parameter | Type | Description |
|---|---|---|
options | WebhookEndpointOptions | WebhookCluster |
Returns:
Promise<boolean>