Create generic class collection
Client
Private
#objectsPrivate
#storageReadonly
clientReadonly
getReadonly
updateCreate a new instance of an object
Id
Type
Instance
Context
Optional
data: unknownData
Iterable of key, value pairs in the map
Iterable
Fetch webhook by ID
Id
Webhook
Filter the collection by a given predicate
Predicate to satisfy
Find some value based on a predicate
Predicate to satisfy
Execute a provided function over each key, value pair in the map
Callback for each pair
Iterable
Create webhook with ID and token
Id
Token
Webhook
Get an existing object
Id
Object
Get or create
Id
Data
Optional
avatar?: null | { The avatar of the webhook
The channel this webhook belongs to
Webhook Id
The name of the webhook
Format: uint64
The permissions for the webhook
Optional
token?: null | stringThe private token for the webhook
Map the collection using a given callback
Callback
List of values in the map
List
Iterable of values in the map
Iterable
Generated using TypeDoc
Collection of Channel Webhooks