-
Notifications
You must be signed in to change notification settings - Fork 20
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
A Userbot Undefined offset: 0 Error in Utils.php on line 43 #8
Comments
What version of tdlight bot api are you using? If you’re using a public instance, which one are you using? |
I'm using the server offered here https://tdlight-team.github.io/tdlight-telegram-bot-api
I replaced the token with the content of .token file generated by NovaGram in my script directory. Set the webhook by
|
@soulhd Well ok, I’ll fix it in v2.0, user tokens are different. However, when you log in using novagram, webhook is automatically set, so you don’t have to manually set it. Does bot work even with this error? |
I see. OK, I'll watch for an update and report it to you.
It's working even errors reported. But I'm getting double replies when communicating with the bot in group or private message. I don't know whether or not it is affected by the errors or by something else. |
@soulhd Probably you set webhook two times, check if there are two instances of bot api logged in your account. Telegram Settings -> devices |
Wonderful, you're my hero!! Been looking for the problem all this day, google didn't even mention about this when I search for "bot double reply" :) |
@soulhd Nothing. I’ll close issue when I’ll fix it in v2 |
got it. is there any telegram group/channel of yours which I can participate? |
@soulhd Yes, it’s mentioned in readme |
I'm using a Userbot (modified it a little bit) with latest version of NovaGram and getting this error message:
What could have gone wrong? Is it because the token ID is my phone number (because I'm using Userbot)?
The text was updated successfully, but these errors were encountered: