Closed idsulik closed 3 years ago
resolve #53
With send_only: true
Without: the reason of the error - multiple instances use one bot to send message, there is no needs to listen to messages
LGTM, ty!
Just a comment on the docs:
send_only: false # use bot only to send messages.
Is a bit confusing as it suggests using false
to use bot only to send messages.
Add
send_only: false
config to use bot only to send messages and stop listening for updates.It's useful for example if you want to use one bot in multiple projects, without
send_only: true
you cann't do it because telegram throws error because multiple instances listening for the bot updates