Expand description
Webhook registration for messaging providers during setup.
Calls provider-specific APIs (e.g. Telegram setWebhook, Slack manifest
update, Webex webhook management) to register the operator’s ingress
endpoint so that external services can deliver messages to the running
instance.
Ported from greentic-operator/src/onboard/webhook_setup.rs so that
gtc setup can handle webhook registration without the operator.
Structs§
- Provider
Instruction - A single provider’s manual setup instructions.
Functions§
- collect_
post_ setup_ instructions - Collect post-setup instructions for providers that need manual intervention.
- has_
webhook_ url - Check whether a provider’s answers contain a valid
public_base_urlsuitable for webhook registration. - print_
post_ setup_ instructions - Print post-setup instructions for providers that need manual intervention.
- register_
webhook - Register a webhook for a provider based on its setup answers.
- registration_
result_ from_ declared_ ops - Extract registration result from declared ops in config.
- slack_
update_ manifest_ urls - Update event_subscriptions and interactivity URLs in the manifest.