ebeneditos / telegram.bot

Develop a Telegram Bot with R
https://ebeneditos.github.io/telegram.bot/
GNU General Public License v3.0
107 stars 24 forks source link

polling error: Error in if (handler$check_update(update)) { : argument is of length zero #16

Closed selesnow closed 3 years ago

selesnow commented 3 years ago

Bug Report

Hi, i get error, every time after 15 - 20 minutes after i was started polling.

Expected Behavior

I don`t expected error, but i get next

Error in if (handler$check_update(update)) { : argument is of length zero

Actual Behavior

Error in if (handler$check_update(update)) { : argument is of length zero

Steps to Reproduce the Problem

  1. Start polling
  2. Nothing to do
  3. Get error: Error in if (handler$check_update(update)) { : argument is of length zero

Specifications

How i can add error handing with restart polling on get this error ?

selesnow commented 3 years ago

All ok.

I tryed filtering by username in private group, and got this error.