Closed BenyFilho closed 2 months ago
Fixing poll_update event to work in webpack-exodus
SENDING THE POLL
const poll = new Poll('Which pet do you prefer?', ['Cat', 'Dog']); const msgPoll = await client.sendMessage(chatId, poll);
LISTENING THE EVENT
client.on('vote_update', (vote) => { console.log(vote); });
PR Details
Fixing poll_update event to work in webpack-exodus
Description
Fixing poll_update event to work in webpack-exodus
Related Issue
Motivation and Context
How Has This Been Tested
SENDING THE POLL
LISTENING THE EVENT
Types of changes
Checklist