Skip to content

Telego with webhook over ngrok #107

Answered by mymmrac
abakum asked this question in Q&A
Jun 5, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I added an example of Ngrok usage https://github.com/mymmrac/telego/blob/main/examples/ngrok/main.go

Added FuncWebhookServer to simplify creation, generally it's similar to what you showed, but much simpler - using Serve method of server to avoid dealing with each connection separately.

I also want to add some utility methods to simplify webhook server creation, so it will be even simpler after that.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mymmrac
Comment options

@mymmrac
Comment options

Answer selected by abakum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants