OptionalbridgeOptionalaffectsRegistration?: booleanIf true, the config will be required when generating a registration file.
The default options for the config file.
Path to a schema YAML file (string) or the parsed schema file (object).
OptionalenableEnable '--localpart [-l]' to allow users to configure the bot localpart.
OptionalenableEnable '--generate-registration' to allow users to generate a registration file.
OptionalgenerateThe function called when you should generate a registration.
Must be defined unless enableRegistration is false.
OptionalnoDon't ask user for appservice url when generating registration.
OptionalonThis function is when the config is hot-reloaded. If not defined, hot-reloading is disabled.
You can hot-reload the bridge by sending a SIGHUP signal to the bridge.
OptionalregistrationThe path to write the registration file to. Users can overwrite this with -f.
This function called when you should run the bridge.
Bridge-specific config info. If not defined, --config option will not be present in the CLI