Webhook is not working as expected after setting it up via command line #583
Unanswered
prashantcct
asked this question in
Q&A
Replies: 1 comment
-
@prashantcct thanks for using our package ❤️ Warning you should keep your token secret, so I advise you to generate a new one as it has been disclosed in your previous message. it seems that Telegram can't find your webhook (your server answered I think this could not find a bot with that token: //DefStudio\Telegraph\Models\TelegraphBot::89
return self::query()->where('token', $token)->sole(); could you put a \Log::debug($token) to check the value of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have integrated bot in laravel using this package.
And after sometime, we have revoke the token and generate new token for the same bot, using that same token we have created new bot and updated web hook for the same and we confirm that URL which has been given for web hook is working fine.
But by doing so we are getting this error after setting up web hook and in bot its showing unknown command.
Anyone please let us know, if same has issue occured? If we are missing something and or needs to change any thing?
Already tried things as below
setup new bot :
php artisan telegraph:new-bot
setup web hook
php artisan telegraph:set-webhook
Beta Was this translation helpful? Give feedback.
All reactions