Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

startPolling is not a function #20

Open
Raingerlina opened this issue Jan 25, 2019 · 1 comment
Open

startPolling is not a function #20

Raingerlina opened this issue Jan 25, 2019 · 1 comment

Comments

@Raingerlina
Copy link

Hello!

Have tried to use
bot.startPolling()

however console returned that
TypeError: bot.startPolling is not a function

What am I doing wrong and how can I fix it?

@LetItCode
Copy link
Member

Try this bot.launch()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants