Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vote_update event #3207

Closed

Conversation

BenyFilho
Copy link

@BenyFilho BenyFilho commented Jul 18, 2024

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

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);
});

Types of changes

  • Dependency change
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • I have updated the documentation accordingly (index.d.ts).

@alechkos alechkos closed this Jul 23, 2024
@momokang momokang mentioned this pull request Aug 25, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants