Poll implementation

This commit is contained in:
purpshell
2022-12-23 12:37:07 +02:00
parent 288a572af6
commit a519105870
6 changed files with 184 additions and 49 deletions

View File

@@ -52,7 +52,8 @@ exports.Events = {
STATE_CHANGED: 'change_state',
BATTERY_CHANGED: 'change_battery',
INCOMING_CALL: 'incoming_call',
REMOTE_SESSION_SAVED: 'remote_session_saved'
REMOTE_SESSION_SAVED: 'remote_session_saved',
POLL_VOTE: 'poll_vote'
};
/**
@@ -96,6 +97,8 @@ exports.MessageTypes = {
PROTOCOL: 'protocol',
REACTION: 'reaction',
TEMPLATE_BUTTON_REPLY: 'template_button_reply',
POLL_CREATION: 'poll_creation',
};
/**