Mount event listener only if message was sent out successfully #42
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
bot.on('update')
event listener only if message was sent out successfully;api.send
request has been done.This way we make sure no zombie event listeners will be mounted should the
api.send()
request fail.@laurynas-karvelis thanks!
Published
telegram-api@3.1.1