Commit Graph

95 Commits

Author SHA1 Message Date
ruben 1e040bea4d Api version 6.3 2022-11-08 18:33:50 +00:00
Ramil Aminev 76f5cb2f4e Remake old comments into javadoc-style. 2022-11-04 20:23:27 +04:00
Ruben c0f51040bb Api Version 6.2 2022-08-15 01:43:03 +01:00
rubenlagus 3d07f27d41 Api version 6.1 2022-06-21 21:17:49 +02:00
Ruben Bermudez 0170c93555
Merge pull request #1030 from loolzaaa/webhook_fix1 2022-06-15 02:31:07 +02:00
Ruben e779402e74 Api Version 6.0 2022-04-17 20:40:17 +01:00
Korsakov A.N. (20211) 9cb206b14b Implement Webhook without server 2022-02-10 15:59:06 +05:00
Ruben 6bb17461f0 Api Version 5.7 2022-02-01 23:00:54 +00:00
Ruben feffffe112 Api Version 5.6 2022-01-01 23:06:28 +00:00
timursergeevich 17c336b1ec added clarifying message to TelegramApiException if filePath parameter is empty 2021-11-06 21:32:57 +03:00
Herindra Setiawan d315745f2e Change Exception error message to match the function 2021-05-18 15:40:14 +07:00
Herindra Setiawan 09cdf87724 Fix issue #920 Wrong API path for SetStickerSetThumb 2021-05-18 13:56:11 +07:00
rubenlagus 2b721194d1 Update 5.2 2021-04-26 20:55:29 +01:00
monkey e38c3b0ba9 issue #707 ExponentialBackOff refactored to interface for custom implementation 2021-04-25 03:01:23 +01:00
Victor 93106c8cfa Fix typos 2021-03-12 11:28:40 +02:00
rubenlagus c7728fbc8a Fix webhook version and validate username and token is present 2021-03-07 03:28:24 +00:00
rubenlagus 451bdce90b Fix #841 2021-01-02 17:51:25 +01:00
Ruben Bermudez ab00b182e8 Remove Guice 2020-11-03 02:57:36 +00:00
rubenlagus fb5626de7a CompletableFuture support 2020-11-03 02:24:07 +00:00
rubenlagus 447c9d3f92 Update 5.0 and lombok 2020-11-03 01:32:26 +00:00
Ruben Bermudez 02674a2a39
Merge pull request #804 from Chase22/configure-longpolling
Add timeout and limit for long-polling updates to DefaultBotOptions
2020-10-21 19:34:23 +01:00
Chase22 2009ef411d Add timeout and update limit for long-polling updates to DefaultBotOptions
Just a little commit to make the long-polling timeout and long-polling limit configurable via the BotOptions. Mainly for Testing
2020-09-21 19:31:50 +02:00
Mouamle 13f6b1f336 used slf4j for logging instead of `exception.printStackTrace()` 2020-09-08 01:18:18 +03:00
Mouamle 6fcd4d85c1 Made webhook bots print exceptions stacktrace to stderr instead of silently swallowing them. 2020-09-05 03:53:42 +03:00
Ruben Bermudez bd0c96f5e0
Merge pull request #719 from galimru/dev
The fix to workaround OpenJDK bug which throw internal error
2020-04-26 00:48:33 +01:00
Ruben Bermudez 14633b4040 Update version Api 4.7 2020-04-01 09:10:13 +01:00
galimru 1b18b1ccdb unwrap cause from internal exception and prevent from breaking thread (ref #629) 2020-01-28 12:59:27 +04:00
galimru 55e27c1167 added the fix to workaround openjdk bug which thrown internal error (ref #629) 2020-01-27 21:15:04 +04:00
Eugene Kortov ff96318fef Add DI for TelegramFileDownloader, fix it for proxy usage
- add DI for TelegramFileDownloader
- replace volatile variables with final
2019-11-20 16:45:38 +04:00
rubenlagus 44c814256d Bug fixes and pom dependencies upgrades 2019-11-19 00:43:21 +00:00
Ruben Bermudez 15fe637998
Merge branch 'dev' into slf4j 2019-10-12 01:02:15 +01:00
UnAfraid ef1bd09a6a Replacing log4j with slf4j 2019-09-09 20:10:26 +03:00
nagorny afe35b4b14 Fixed #652 2019-08-24 18:57:34 +03:00
rubenlagus b19ae64899 Fix text to Junit5 2019-07-29 00:24:30 +01:00
Ruben Bermudez d7875bba34 Merge branch 'Chase22-Feature/Refactor-file-download' into java11 2019-07-28 23:47:04 +01:00
Ruben Bermudez e551c64eea Merge branch 'Feature/Refactor-file-download' of https://github.com/Chase22/TelegramBots into Chase22-Feature/Refactor-file-download 2019-07-28 23:38:50 +01:00
rubenlagus 830b873776 Remove BotLogger 2019-07-27 13:19:54 +01:00
rubenlagus 679ad618b9 Java 11, initial version 2019-07-08 20:22:51 +01:00
Ruben Bermudez 7c11293d07 Fix #628 2019-06-15 18:10:27 +01:00
Ruben Bermudez 3861b29b25 Improves #498 2019-04-03 02:24:15 +01:00
chase ef0d78eb4c Move TelegramFileDownloader and finish implementation
The fileDownloader now offers all necessary methods. Still needs some
polishing
2019-03-26 22:39:36 +01:00
chase a317001d4b Add TelegramFileDownloader
Add a seperate file downloader to look at the download code more
isolated. Might be merged back into DefaultAbsSender later
2019-03-24 20:22:55 +01:00
Ruben Bermudez 293d903083 Fix #563 2019-01-02 15:56:45 +01:00
ezachateyskiy 584b9d5f98
Fix wrong path for SendAnimation command 2018-09-15 02:07:17 +03:00
Ruben Bermudez f415afb568 #Fix 507 2018-08-21 21:27:54 +01:00
Ruben Bermudez 4ea716cfea Merge branch 'webhook' of https://github.com/addo37/TelegramBots into addo37-webhook
# Conflicts:
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/bot/AbilityBot.java
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/db/DBContext.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultAbsSender.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/TelegramLongPollingBot.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/TelegramWebhookBot.java
2018-07-27 01:06:23 +02:00
Ruben Bermudez 7daebe1318 Merge branch 'webhook' of https://github.com/addo37/TelegramBots into addo37-webhook
# Conflicts:
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/bot/AbilityBot.java
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/db/DBContext.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultAbsSender.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/TelegramLongPollingBot.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/TelegramWebhookBot.java
2018-07-27 01:04:51 +02:00
Ruben Bermudez a75ca5f08d Version 4.0.0 2018-07-27 00:27:26 +02:00
chmilevfa ad3dbfdd58 Merge branch 'dev' into java9-support
# Conflicts:
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/bot/AbilityBot.java
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/objects/EndUser.java
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/objects/MessageContext.java
#	telegrambots-spring-boot-starter/src/main/java/org/telegram/telegrambots/starter/TelegramBotStarterConfiguration.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultBotOptions.java
2018-07-16 19:37:30 +02:00
chmilevfa db9ae4f586 telegrambots-meta java 9 supported 2018-07-08 01:41:21 +02:00