WebhookConfig.custom constructor
const
WebhookConfig.custom({})
Creates a configuration for custom web server integration.
Use this when you want to integrate with your existing web server.
Implementation
const WebhookConfig.custom({
this.webhookUrl,
this.secretToken,
super.allowedUpdates,
super.dropPendingUpdates = false,
super.maxConcurrentUpdates = 20,
}) : useBuiltInServer = false,
port = null,
bindAddress = null,
webhookPath = '/webhook',
healthCheckPath = null,
corsEnabled = false,
certificate = null,
ipAddress = null,
maxConnections = null,
deleteWebhookOnStop = false;