-
Notifications
You must be signed in to change notification settings - Fork 105
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
Add example code for every single framework adapter #993
Comments
I think at that point we need to provide code examples for every adapter. That would be reasonable anyway, as it's a common question. It would be incorrect to call |
I'm quite new in Telegram bot development and dont sure on 100% about how to setup webhook in the proper way. Just saw the similar approuch in other libs like node-telegram-bot-api. This is why I posted this issue - would be helpfull to see the proper approuch in the lib docs. |
"The proper way" depends on the exact framework you are using, and on where you host it. There is no one-size-fits-all solution, which is why the docs currently only give an example that is mostly relevant for a large audience, and that leaves the rest to the developer. A few more examples can be found in the example bots repository, although it isn't exactly tailored towards your question. |
The example below doesn't contains all info about how dev can setup webhooks. Would be nice to provide more clear example for this:
for example:
The text was updated successfully, but these errors were encountered: