-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Jetty HttpClient implementation of TelegramClient #1425
base: dev
Are you sure you want to change the base?
Conversation
@rubenlagus Hi. Any troubles with merging? |
Hi @valkuc , no concerns but can you add one lesson for this client as well here: https://github.com/rubenlagus/TelegramBotsDocumentation |
Hi. Yep, will do. |
I did actually consider this when making the telegram client, unfortunately there's no unified interface for multipart requests. It's something we'd have to implement ourselves |
@rubenlagus maybe I'm blind but I don't see my changes in master. Looks like something goes wrong with merge. |
I'll merge it when I have a bit of time, there are some extra fields that need to be added to the media classes |
Hi.
In my project I'm using Jetty Server. I came to the conclusion that additional dependencies on OkHttp client and Kotlin - is too much. So I decided to create TelegramClient implementation that uses Jetty HttpClient instead of OkHttp.
To use it, just include
instead of
Some considerations:
telegrambots-client-okhttp-adapter
.