Poll Started
- Alert key:
lumiastream-pollStarted - Source: Lumia
- Event list label: Poll start
Default message template
New poll started {{poll_title}} with choices {{poll_choices}}
Template variables
Use any of these in alert text, TTS, or chat templates. The same names appear under data.extraSettings.* when you subscribe via Overlay.on('alert').
| Template variable | Overlay payload field | Description |
|---|---|---|
{{poll_title}} | data.extraSettings.poll_title | Poll title |
{{poll_id}} | data.extraSettings.poll_id | Poll id |
{{poll_choices}} | data.extraSettings.poll_choices | Poll choices |
Example payloads
Each scenario below mirrors what Lumia emits in Overlay.on('alert', (data) => …).
Poll Yes/No
{
"alert": "lumiastream-pollStarted",
"dynamic": {
"value": "Is Lumia Stream the best"
},
"extraSettings": {
"poll_title": "Is Lumia Stream the best",
"poll_choices": "Yes,No",
"poll_id": ""
}
}
Variation conditions
Dimensions you can branch on when configuring alert variations:
RANDOMEQUAL_STRING- Poll Title is equal toEQUAL_VARIABLE
Related
- Alert Explorer - live preview of every alert
- Overlay Type Definitions - full
AlertEventTypeScript type