Webhook doesn't work after replace domain #299
Answered
by
ChillMouse
ChillMouse
asked this question in
Q&A
-
I recently had "example.ru" domain and everything worked After changing the domain to "bot.another,ru" the webhooks don't work. What do you need? Please give me advice :) |
Beta Was this translation helpful? Give feedback.
Answered by
ChillMouse
Dec 19, 2022
Replies: 2 comments 4 replies
-
have you tried deleting the webhook and registering a new one? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Config so important.... 'security' => [
/*
* if enabled, allows callback queries from unregistered chats
*/
'allow_callback_queries_from_unknown_chats' => true,
/*
* if enabled, allows messages and commands from unregistered chats
*/
'allow_messages_from_unknown_chats' => true, // <--- this important, before = false
/*
* if enabled, store unknown chats as new TelegraphChat models
*/
'store_unknown_chats_in_db' => true,
], And you must have in .env: APP_URL=https://domain.com |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fabio-ivona
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Config so important....
And you must have in .env: