Properties
Polling: string
By default, the bot will poll the notifications endpoint every
seconds.
This is less resource-intensive than the firehose strategy, but it may take up to pollingInterval
seconds for the bot to receive new events. This strategy will not emit the pollingInterval
event.firehose
Firehose: string
The bot will open a websocket connection to the relay and receive events in real-time. This will consume more bandwidth and CPU than the polling strategy, but the bot will receive events as soon as they are emitted. Prefer to use the EventStrategy.Jetstream strategy instead.
Jetstream: string
The bot will open a websocket connection to a Jetstream instance and receive events in real-time.